Enum AccountType
- java.lang.Object
-
- java.lang.Enum<AccountType>
-
- de.adorsys.ledgers.deposit.db.domain.AccountType
-
- All Implemented Interfaces:
Serializable,Comparable<AccountType>
public enum AccountType extends Enum<AccountType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<AccountType>getByValue(String value)StringgetValue()static AccountTypevalueOf(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.
-
-
-
Enum Constant Detail
-
CACC
public static final AccountType CACC
-
CASH
public static final AccountType CASH
-
CHAR
public static final AccountType CHAR
-
CISH
public static final AccountType CISH
-
COMM
public static final AccountType COMM
-
CPAC
public static final AccountType CPAC
-
LLSV
public static final AccountType LLSV
-
LOAN
public static final AccountType LOAN
-
MGLD
public static final AccountType MGLD
-
MOMA
public static final AccountType MOMA
-
NREX
public static final AccountType NREX
-
ODFT
public static final AccountType ODFT
-
ONDP
public static final AccountType ONDP
-
OTHR
public static final AccountType OTHR
-
SACC
public static final AccountType SACC
-
SLRY
public static final AccountType SLRY
-
SVGS
public static final AccountType SVGS
-
TAXE
public static final AccountType TAXE
-
TRAN
public static final AccountType TRAN
-
TRAS
public static final AccountType TRAS
-
-
Method Detail
-
values
public static AccountType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccountType c : AccountType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
getByValue
public static Optional<AccountType> getByValue(String value)
-
-