Enum Class ParamType

Object
Enum<ParamType>
com.pullreports.model.ParamType
All Implemented Interfaces:
Serializable, Comparable<ParamType>, Constable

public enum ParamType extends Enum<ParamType>
The ParamType Enum contains the possible values for the Column paramType property.
See Also:
  • Enum Constant Details

    • STRING

      public static final ParamType STRING
    • DOUBLE

      public static final ParamType DOUBLE
    • FLOAT

      public static final ParamType FLOAT
    • INTEGER

      public static final ParamType INTEGER
    • LONG

      public static final ParamType LONG
    • BOOLEAN

      public static final ParamType BOOLEAN
    • DATE

      public static final ParamType DATE
    • TIME

      public static final ParamType TIME
    • TIMESTAMP

      public static final ParamType TIMESTAMP
    • BIG_DECIMAL

      public static final ParamType BIG_DECIMAL
    • BIG_INTEGER

      public static final ParamType BIG_INTEGER
  • Method Details

    • values

      public static ParamType[] 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 ParamType 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
    • getParamClass

      public Class<?> getParamClass()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ParamType>
    • fromParamClass

      public static ParamType fromParamClass(Class<?> paramClass)