public enum PurchaseOrderStatus extends Enum<PurchaseOrderStatus>
Enum Constant and Description |
---|
CANCELED |
CHANGE_ORDER |
CLOSED |
NEW |
RECEIVED |
RELEASED |
Modifier and Type | Method and Description |
---|---|
static PurchaseOrderStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurchaseOrderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurchaseOrderStatus NEW
public static final PurchaseOrderStatus RELEASED
public static final PurchaseOrderStatus CHANGE_ORDER
public static final PurchaseOrderStatus RECEIVED
public static final PurchaseOrderStatus CLOSED
public static final PurchaseOrderStatus CANCELED
public static PurchaseOrderStatus[] values()
for (PurchaseOrderStatus c : PurchaseOrderStatus.values()) System.out.println(c);
public static PurchaseOrderStatus 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 nullCopyright © 2010–2016. All rights reserved.