public static enum Account.Status extends java.lang.Enum<Account.Status>
| Enum Constant and Description |
|---|
ACTIVATED |
CREATED |
NOT_CREATED |
REMOVED |
SUSPENDED |
| Modifier and Type | Method and Description |
|---|---|
static Account.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Account.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Account.Status NOT_CREATED
public static final Account.Status CREATED
public static final Account.Status ACTIVATED
public static final Account.Status SUSPENDED
public static final Account.Status REMOVED
public static Account.Status[] values()
for (Account.Status c : Account.Status.values()) System.out.println(c);
public static Account.Status 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