public static enum ProductDetails.State extends java.lang.Enum<ProductDetails.State>
Enum Constant and Description |
---|
APPROVED |
FINISHED |
INITIATED |
INVALID |
OWNED |
REGISTERED |
REQUESTED |
VALID |
Modifier and Type | Method and Description |
---|---|
static ProductDetails.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProductDetails.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductDetails.State REGISTERED
public static final ProductDetails.State INVALID
public static final ProductDetails.State VALID
public static final ProductDetails.State REQUESTED
public static final ProductDetails.State INITIATED
public static final ProductDetails.State APPROVED
public static final ProductDetails.State OWNED
public static final ProductDetails.State FINISHED
public static ProductDetails.State[] values()
for (ProductDetails.State c : ProductDetails.State.values()) System.out.println(c);
public static ProductDetails.State 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