public static enum PurchaseOrder.Status extends Enum<PurchaseOrder.Status>
Modifier and Type | Method and Description |
---|---|
static PurchaseOrder.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurchaseOrder.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurchaseOrder.Status PENDING
public static final PurchaseOrder.Status DELIVERED
public static PurchaseOrder.Status[] values()
for (PurchaseOrder.Status c : PurchaseOrder.Status.values()) System.out.println(c);
public static PurchaseOrder.Status 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 © 2006–2018 Apache Software Foundation. All rights reserved.