Enum Class NumericFormatType

java.lang.Object
java.lang.Enum<NumericFormatType>
com.almis.awe.model.type.NumericFormatType
All Implemented Interfaces:
Serializable, Comparable<NumericFormatType>, Constable

public enum NumericFormatType extends Enum<NumericFormatType>
Numeric Formats type Enum
  • Enum Constant Details

    • EUR

      public static final NumericFormatType EUR
      European numeric format ('.' as thousands character and ',' as decimal character). Ex.: [10.000.000,00]
    • AME

      public static final NumericFormatType AME
      American numeric format (',' as thousands character and '.' as decimal character). Ex.: [10,000,000.00]
    • EUR_NO

      public static final NumericFormatType EUR_NO
      European numeric format without thousands character ('.' as decimal character). Ex.: [10000000.00]
    • AME_NO

      public static final NumericFormatType AME_NO
      American numeric format without thousands character (',' as decimal character). Ex.: [10000000,00]
  • Method Details

    • values

      public static NumericFormatType[] 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

      public static NumericFormatType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getThousandCharacter

      public String getThousandCharacter()
      Get thousands character
      Returns:
      thousands character
    • getDecimalCharacter

      public String getDecimalCharacter()
      Get decimals character
      Returns:
      decimals character