Enum Class DATA_TYPE

java.lang.Object
java.lang.Enum<DATA_TYPE>
org.kie.pmml.api.enums.DATA_TYPE
All Implemented Interfaces:
Serializable, Comparable<DATA_TYPE>, Constable, Named

public enum DATA_TYPE extends Enum<DATA_TYPE> implements Named
  • Enum Constant Details

    • STRING

      public static final DATA_TYPE STRING
    • INTEGER

      public static final DATA_TYPE INTEGER
    • FLOAT

      public static final DATA_TYPE FLOAT
    • DOUBLE

      public static final DATA_TYPE DOUBLE
    • BOOLEAN

      public static final DATA_TYPE BOOLEAN
    • DATE

      public static final DATA_TYPE DATE
    • TIME

      public static final DATA_TYPE TIME
    • DATE_TIME

      public static final DATA_TYPE DATE_TIME
    • DATE_DAYS_SINCE_0

      public static final DATA_TYPE DATE_DAYS_SINCE_0
    • DATE_DAYS_SINCE_1960

      public static final DATA_TYPE DATE_DAYS_SINCE_1960
    • DATE_DAYS_SINCE_1970

      public static final DATA_TYPE DATE_DAYS_SINCE_1970
    • DATE_DAYS_SINCE_1980

      public static final DATA_TYPE DATE_DAYS_SINCE_1980
    • TIME_SECONDS

      public static final DATA_TYPE TIME_SECONDS
    • DATE_TIME_SECONDS_SINCE_0

      public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_0
    • DATE_TIME_SECONDS_SINCE_1960

      public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1960
    • DATE_TIME_SECONDS_SINCE_1970

      public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1970
    • DATE_TIME_SECONDS_SINCE_1980

      public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1980
  • Method Details

    • values

      public static DATA_TYPE[] 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 DATA_TYPE 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
    • byName

      public static DATA_TYPE byName(String name)
    • getName

      public String getName()
      Specified by:
      getName in interface Named
    • getMappedClass

      public Class<?> getMappedClass()
    • getActualValue

      public Object getActualValue(Object rawValue)
      This method convert a raw object value to the correct type as defined in the original DataDictionary. Needed for example when an unmarshalled Predicate expose a field' value as String while the value' type is defined as double in the DataFielddefinition.
      Parameters:
      rawValue -
      Returns: