public enum ShipmentState extends java.lang.Enum<ShipmentState>
Order.| Enum Constant and Description |
|---|
Backorder |
Partial |
Pending |
Ready |
Shipped |
| Modifier and Type | Method and Description |
|---|---|
static ShipmentState |
valueOf(java.lang.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.
|
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 ShipmentState[] values()
for (ShipmentState c : ShipmentState.values()) System.out.println(c);
public static ShipmentState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null