Class ItemIdentity.StringIdentity
Object
ItemIdentity
StringIdentity
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ItemIdentity
@PublicApi
public static final class ItemIdentity.StringIdentity
extends ItemIdentity
implements Serializable
Represents string-based ID.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ItemIdentity
ItemIdentity.LongIdentity, ItemIdentity.StringIdentity -
Field Summary
Fields inherited from class ItemIdentity
ITEM_ZERO -
Method Summary
Methods inherited from class ItemIdentity
getItemType, getLongId, isLongId, longId, parse, stringId
-
Method Details
-
isStringId
public boolean isStringId()Description copied from class:ItemIdentityReturnstrueif this ID is string-based.- Overrides:
isStringIdin classItemIdentity
-
getStringId
Description copied from class:ItemIdentityGets the string ID from a string-basedItemIdentity.- Overrides:
getStringIdin classItemIdentity- Returns:
- string ID, not null, not empty
-
equals
-
hashCode
public int hashCode() -
toString
-
toSimplifiedString
- Specified by:
toSimplifiedStringin classItemIdentity
-