public static enum Account.AccountType extends java.lang.Enum<Account.AccountType>
Enum Constant and Description |
---|
ASSET |
BANK |
CREDIT_CARD |
EXPENSE |
INCOME |
INVESTMENT |
LIABILITY |
LOAN |
ROOT |
SECURITY |
Modifier and Type | Method and Description |
---|---|
int |
code() |
int |
compareCodeTo(Account.AccountType otherType) |
AcctFilter |
filter() |
java.lang.String |
syncID() |
static Account.AccountType |
typeForCode(int typeCode) |
static Account.AccountType |
typeForSyncID(java.lang.String syncID) |
static Account.AccountType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Account.AccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Account.AccountType ROOT
public static final Account.AccountType BANK
public static final Account.AccountType CREDIT_CARD
public static final Account.AccountType INVESTMENT
public static final Account.AccountType SECURITY
public static final Account.AccountType ASSET
public static final Account.AccountType LIABILITY
public static final Account.AccountType LOAN
public static final Account.AccountType EXPENSE
public static final Account.AccountType INCOME
public static Account.AccountType[] values()
for (Account.AccountType c : Account.AccountType.values()) System.out.println(c);
public static Account.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 syncID()
public final int code()
public AcctFilter filter()
public int compareCodeTo(Account.AccountType otherType)
public static Account.AccountType typeForCode(int typeCode)
public static Account.AccountType typeForSyncID(java.lang.String syncID)