public enum ShipmentState extends Enum<ShipmentState> implements SphereEnumeration
SphereEnumeration
.Enum Constant and Description |
---|
BACKORDER |
DELAYED |
PARTIAL |
PENDING |
READY |
SHIPPED |
Modifier and Type | Method and Description |
---|---|
static ShipmentState |
ofSphereValue(String value) |
static ShipmentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShipmentState[] |
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 ShipmentState SHIPPED
public static final ShipmentState READY
public static final ShipmentState PENDING
public static final ShipmentState PARTIAL
public static final ShipmentState BACKORDER
public static final ShipmentState DELAYED
public static ShipmentState[] values()
for (ShipmentState c : ShipmentState.values()) System.out.println(c);
public static ShipmentState 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 ShipmentState ofSphereValue(String value)