Package com.almis.awe.model.type
Enum Class NumericFormatType
- All Implemented Interfaces:
Serializable
,Comparable<NumericFormatType>
,Constable
Numeric Formats type Enum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAmerican numeric format (',' as thousands character and '.' as decimal character).American numeric format without thousands character (',' as decimal character).European numeric format ('.' as thousands character and ',' as decimal character).European numeric format without thousands character ('.' as decimal character). -
Method Summary
Modifier and TypeMethodDescriptionGet decimals characterGet thousands characterstatic NumericFormatType
Returns the enum constant of this class with the specified name.static NumericFormatType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EUR
European numeric format ('.' as thousands character and ',' as decimal character). Ex.: [10.000.000,00] -
AME
American numeric format (',' as thousands character and '.' as decimal character). Ex.: [10,000,000.00] -
EUR_NO
European numeric format without thousands character ('.' as decimal character). Ex.: [10000000.00] -
AME_NO
American numeric format without thousands character (',' as decimal character). Ex.: [10000000,00]
-
-
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
-
getThousandCharacter
Get thousands character- Returns:
- thousands character
-
getDecimalCharacter
Get decimals character- Returns:
- decimals character
-