Enum Class EntityBankEnum
- All Implemented Interfaces:
Serializable,Comparable<EntityBankEnum>,Constable
ENum for define entities bank.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEntityBankEnum(String key, String value, String bankCode, String bic) Entity Bank Enum constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityBankEnumfindByBankCode(String bankCode) Get the enum by its bank code.Get the bank code.getBic()Get the bic .getKey()Get the key value.getValue()Get the value code.static EntityBankEnumReturns the enum constant of this class with the specified name.static EntityBankEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BC
Entity Bank for BancoCaminos. -
BF
Entity bank for BANCOFAR. -
KB
Entity bank for kukenbank. -
EX
Entity bank for EX.
-
-
Field Details
-
key
Key for bank entity. -
value
Value for bank entity. -
bankCode
Bank code of bank entity. -
bic
Bank BIC / SWIFT.
-
-
Constructor Details
-
EntityBankEnum
Entity Bank Enum constructor.- Parameters:
key- type key for bank value.value- value code value.bankCode- bank code value.bic- bic value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
Get the key value.- Returns:
- key.
-
getValue
Get the value code.- Returns:
- registrationCode
-
getBankCode
Get the bank code.- Returns:
- bankCode.
-
getBic
Get the bic .- Returns:
- bic.
-
findByBankCode
Get the enum by its bank code.- Parameters:
bankCode- bank code value.- Returns:
- EntityBank Enum.
-