Enum InventoryHeader
- All Implemented Interfaces:
Serializable, Comparable<InventoryHeader>
Defines the CSV headers for an inventory IMPORT/EXPORT file.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic InventoryHeaderGets theInventoryHeaderenum from the given value.static List<InventoryHeader> Gets the list of headers that are required.booleantoString()static InventoryHeaderReturns the enum constant of this type with the specified name.static InventoryHeader[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RELEASE_ID
-
PRICE
-
MEDIA_CONDITION
-
COMMENTS
-
SLEEVE_CONDITION
-
ACCEPT_OFFER
-
LOCATION
-
EXTERNAL_ID
-
WEIGHT
-
FORMAT_QUANTITY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
Gets theInventoryHeaderenum from the given value.- Parameters:
value- the value- Returns:
- the header, or
null
-
getRequiredHeaders
Gets the list of headers that are required.- Returns:
- the list of required headers
-
toString
- Overrides:
toStringin classEnum<InventoryHeader>
-
getHeader
-
isRequired
public boolean isRequired() -
getValidator
-