Enum Class ValueType

java.lang.Object
java.lang.Enum<ValueType>
org.drools.base.base.ValueType
All Implemented Interfaces:
Serializable, Comparable<ValueType>, Constable

public enum ValueType extends Enum<ValueType>
  • Enum Constant Details

    • NULL_TYPE

      public static final ValueType NULL_TYPE
    • PCHAR_TYPE

      public static final ValueType PCHAR_TYPE
    • PBYTE_TYPE

      public static final ValueType PBYTE_TYPE
    • PSHORT_TYPE

      public static final ValueType PSHORT_TYPE
    • PINTEGER_TYPE

      public static final ValueType PINTEGER_TYPE
    • PLONG_TYPE

      public static final ValueType PLONG_TYPE
    • PFLOAT_TYPE

      public static final ValueType PFLOAT_TYPE
    • PDOUBLE_TYPE

      public static final ValueType PDOUBLE_TYPE
    • PBOOLEAN_TYPE

      public static final ValueType PBOOLEAN_TYPE
    • CHAR_TYPE

      public static final ValueType CHAR_TYPE
    • BYTE_TYPE

      public static final ValueType BYTE_TYPE
    • SHORT_TYPE

      public static final ValueType SHORT_TYPE
    • INTEGER_TYPE

      public static final ValueType INTEGER_TYPE
    • LONG_TYPE

      public static final ValueType LONG_TYPE
    • FLOAT_TYPE

      public static final ValueType FLOAT_TYPE
    • DOUBLE_TYPE

      public static final ValueType DOUBLE_TYPE
    • BOOLEAN_TYPE

      public static final ValueType BOOLEAN_TYPE
    • NUMBER_TYPE

      public static final ValueType NUMBER_TYPE
    • BIG_DECIMAL_TYPE

      public static final ValueType BIG_DECIMAL_TYPE
    • BIG_INTEGER_TYPE

      public static final ValueType BIG_INTEGER_TYPE
    • DATE_TYPE

      public static final ValueType DATE_TYPE
    • LOCAL_DATE_TYPE

      public static final ValueType LOCAL_DATE_TYPE
    • LOCAL_TIME_TYPE

      public static final ValueType LOCAL_TIME_TYPE
    • ARRAY_TYPE

      public static final ValueType ARRAY_TYPE
    • STRING_TYPE

      public static final ValueType STRING_TYPE
    • OBJECT_TYPE

      public static final ValueType OBJECT_TYPE
    • PROTOTYPE_TYPE

      public static final ValueType PROTOTYPE_TYPE
    • EVENT_TYPE

      public static final ValueType EVENT_TYPE
    • QUERY_TYPE

      public static final ValueType QUERY_TYPE
    • TRAIT_TYPE

      public static final ValueType TRAIT_TYPE
    • CLASS_TYPE

      public static final ValueType CLASS_TYPE
  • Method Details

    • values

      public static ValueType[] 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 ValueType 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
    • coerce

      public Object coerce(Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ValueType>
    • getName

      public String getName()
    • getClassType

      public Class<?> getClassType()
    • isBoolean

      public boolean isBoolean()
    • isNumber

      public boolean isNumber()
    • isIntegerNumber

      public boolean isIntegerNumber()
    • isDecimalNumber

      public boolean isDecimalNumber()
    • isChar

      public boolean isChar()
    • isDate

      public boolean isDate()
    • isEvent

      public boolean isEvent()
    • determineValueType

      public static ValueType determineValueType(Class<?> clazz)