public enum InventoryMode extends Enum<InventoryMode> implements SphereEnumeration
SphereEnumeration
.Enum Constant and Description |
---|
NONE |
RESERVE_ON_ORDER |
TRACK_ONLY |
Modifier and Type | Method and Description |
---|---|
static InventoryMode |
defaultValue() |
static InventoryMode |
ofSphereValue(String value) |
static InventoryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
findBySphereName, name, toSphereName
public static final InventoryMode TRACK_ONLY
public static final InventoryMode RESERVE_ON_ORDER
public static final InventoryMode NONE
public static InventoryMode[] values()
for (InventoryMode c : InventoryMode.values()) System.out.println(c);
public static InventoryMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static InventoryMode defaultValue()
public static InventoryMode ofSphereValue(String value)