public enum AccountType extends Enum<AccountType>
Java class for AccountType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AccountType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Default"/>
<enumeration value="Savings"/>
<enumeration value="Checking"/>
<enumeration value="CreditCard"/>
<enumeration value="Universal"/>
<enumeration value="Investment"/>
<enumeration value="CardTotals"/>
<enumeration value="EpurseCard"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CARD_TOTALS
Card totals
|
CHECKING
Checking account
|
CREDIT_CARD
Credit card account
|
DEFAULT
Default account
|
EPURSE_CARD
e-Purse card account
|
INVESTMENT
Investment account
|
SAVINGS
Savings account
|
UNIVERSAL
Universal account
|
| Modifier and Type | Method and Description |
|---|---|
static AccountType |
fromValue(String v)
From value account type.
|
String |
value()
Value string.
|
static AccountType |
valueOf(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 DEFAULT
public static final AccountType SAVINGS
public static final AccountType CHECKING
public static final AccountType CREDIT_CARD
public static final AccountType UNIVERSAL
public static final AccountType INVESTMENT
public static final AccountType CARD_TOTALS
public static final AccountType EPURSE_CARD
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType 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 AccountType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.