public static enum Account.Status extends Enum<Account.Status>
| Enum Constant and Description |
|---|
ACTIVE |
CLOSED |
INACTIVE |
SUSPENDED |
UNINITIALIZED |
| Modifier and Type | Method and Description |
|---|---|
static Account.Status |
getValueOf(String text) |
String |
toString() |
static Account.Status |
valueOf(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 ACTIVE
public static final Account.Status CLOSED
public static final Account.Status SUSPENDED
public static final Account.Status INACTIVE
public static final Account.Status UNINITIALIZED
public static Account.Status[] values()
for (Account.Status c : Account.Status.values()) System.out.println(c);
public static Account.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 nullpublic static Account.Status getValueOf(String text)
public String toString()
toString in class Enum<Account.Status>Copyright © 2017. All Rights Reserved.