public enum AccountType extends java.lang.Enum<AccountType>
| Modifier and Type | Class and Description |
|---|---|
static class |
AccountType.Adapter |
| Enum Constant and Description |
|---|
BROKERAGE |
CREDIT |
DEPOSITORY |
LOAN |
OTHER |
| Modifier and Type | Method and Description |
|---|---|
static AccountType |
fromValue(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static AccountType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountType BROKERAGE
public static final AccountType CREDIT
public static final AccountType DEPOSITORY
public static final AccountType LOAN
public static final AccountType OTHER
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType 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 nullpublic java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Enum<AccountType>public static AccountType fromValue(java.lang.String value)