Enum Class CurrencyEnum
- All Implemented Interfaces:
Serializable,Comparable<CurrencyEnum>,Constable
Values of currency types.
-
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
ConstructorsModifierConstructorDescriptionprivateCurrencyEnum(int id, String name, String code) Constructor CurrencyEnum. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Get Value.intgetId()Get Id.getName()Get Name.static CurrencyEnum[]Get enum for origin and destination for transfer.static CurrencyEnumReturns the enum constant of this class with the specified name.static CurrencyEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EUR
Cancel State imposition.
-
-
Field Details
-
id
private final int idStatus value. -
name
Name value. -
code
Code value.
-
-
Constructor Details
-
CurrencyEnum
Constructor CurrencyEnum.- Parameters:
id- valuename- valuecode- 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
-
getTransferValues
Get enum for origin and destination for transfer.- Returns:
- origins
-
getCode
Get Value.- Returns:
- code
-
getId
public int getId()Get Id.- Returns:
- id
-
getName
Get Name.- Returns:
- name
-