Enum Class NumericType

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

public enum NumericType extends Enum<NumericType>
NumericType Enumerated List of allowed web numeric types
Author:
Pablo GARCIA - 16/APR/2012
  • Enum Constant Details

  • Method Details

    • values

      public static NumericType[] 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 NumericType 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
    • getEnum

      public static NumericType getEnum(String value)
      Retrieve enumerated value
      Parameters:
      value - numeric value
      Returns:
      NumericType enum
    • toString

      public String toString()
      Override toString method to return property value
      Overrides:
      toString in class Enum<NumericType>
      Returns:
      Property value (if defined)