public static enum Account.AccountStatus extends java.lang.Enum<Account.AccountStatus>
ACTIVE
means this account is in operational state, and INACTIVE
means
the account has been deactivated.Modifier and Type | Method and Description |
---|---|
static Account.AccountStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Account.AccountStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Account.AccountStatus ACTIVE
public static final Account.AccountStatus INACTIVE
public static Account.AccountStatus[] values()
for (Account.AccountStatus c : Account.AccountStatus.values()) System.out.println(c);
public static Account.AccountStatus 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