public enum AccountTypeEnum extends Enum<AccountTypeEnum>
Java class for AccountTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AccountTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Bank"/> <enumeration value="Accounts Receivable"/> <enumeration value="Other Current Asset"/> <enumeration value="Fixed Asset"/> <enumeration value="Other Asset"/> <enumeration value="Accounts Payable"/> <enumeration value="Credit Card"/> <enumeration value="Other Current Liability"/> <enumeration value="Long Term Liability"/> <enumeration value="Equity"/> <enumeration value="Income"/> <enumeration value="Cost of Goods Sold"/> <enumeration value="Expense"/> <enumeration value="Other Income"/> <enumeration value="Other Expense"/> <enumeration value="Non-Posting"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ACCOUNTS_PAYABLE |
ACCOUNTS_RECEIVABLE |
BANK |
COST_OF_GOODS_SOLD |
CREDIT_CARD |
EQUITY |
EXPENSE |
FIXED_ASSET |
INCOME |
LONG_TERM_LIABILITY |
NON_POSTING |
OTHER_ASSET |
OTHER_CURRENT_ASSET |
OTHER_CURRENT_LIABILITY |
OTHER_EXPENSE |
OTHER_INCOME |
Modifier and Type | Method and Description |
---|---|
static AccountTypeEnum |
fromValue(String v) |
String |
value() |
static AccountTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountTypeEnum BANK
public static final AccountTypeEnum ACCOUNTS_RECEIVABLE
public static final AccountTypeEnum OTHER_CURRENT_ASSET
public static final AccountTypeEnum FIXED_ASSET
public static final AccountTypeEnum OTHER_ASSET
public static final AccountTypeEnum ACCOUNTS_PAYABLE
public static final AccountTypeEnum CREDIT_CARD
public static final AccountTypeEnum OTHER_CURRENT_LIABILITY
public static final AccountTypeEnum LONG_TERM_LIABILITY
public static final AccountTypeEnum EQUITY
public static final AccountTypeEnum INCOME
public static final AccountTypeEnum COST_OF_GOODS_SOLD
public static final AccountTypeEnum EXPENSE
public static final AccountTypeEnum OTHER_INCOME
public static final AccountTypeEnum OTHER_EXPENSE
public static final AccountTypeEnum NON_POSTING
public static AccountTypeEnum[] values()
for (AccountTypeEnum c : AccountTypeEnum.values()) System.out.println(c);
public static AccountTypeEnum 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 value()
public static AccountTypeEnum fromValue(String v)
Copyright © 2017. All rights reserved.