public static enum AccountDataType.Type extends Enum<AccountDataType.Type>
| Enum Constant and Description |
|---|
CASH |
CHECKING |
CREDIT_CARD |
INVESTMENT |
SAVINGS |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static AccountDataType.Type |
fromOrdinal(int ordinal) |
static AccountDataType.Type |
fromString(String ordinal) |
String |
toString() |
static AccountDataType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountDataType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountDataType.Type UNKNOWN
public static final AccountDataType.Type CASH
public static final AccountDataType.Type CHECKING
public static final AccountDataType.Type SAVINGS
public static final AccountDataType.Type CREDIT_CARD
public static final AccountDataType.Type INVESTMENT
public static AccountDataType.Type[] values()
for (AccountDataType.Type c : AccountDataType.Type.values()) System.out.println(c);
public static AccountDataType.Type 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 String toString()
toString in class Enum<AccountDataType.Type>public static AccountDataType.Type fromString(String ordinal) throws ClearcheckbookException
ClearcheckbookExceptionpublic static AccountDataType.Type fromOrdinal(int ordinal) throws ClearcheckbookException
ClearcheckbookExceptionCopyright © 2014 Leonard UK Ltd. All rights reserved.