public static enum Account.BankAccountTypeEnum extends Enum<Account.BankAccountTypeEnum>
| Enum Constant and Description |
|---|
BANK |
CREDITCARD |
EMPTY |
PAYPAL |
| Modifier and Type | Method and Description |
|---|---|
static Account.BankAccountTypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Account.BankAccountTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Account.BankAccountTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Account.BankAccountTypeEnum BANK
public static final Account.BankAccountTypeEnum CREDITCARD
public static final Account.BankAccountTypeEnum PAYPAL
public static final Account.BankAccountTypeEnum EMPTY
public static Account.BankAccountTypeEnum[] values()
for (Account.BankAccountTypeEnum c : Account.BankAccountTypeEnum.values()) System.out.println(c);
public static Account.BankAccountTypeEnum 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 getValue()
public String toString()
toString in class Enum<Account.BankAccountTypeEnum>public static Account.BankAccountTypeEnum fromValue(String text)
Copyright © 2019. All rights reserved.