Class DOID

java.lang.Object
oracle.rules.sdk2.dictionary.DOID
All Implemented Interfaces:
Serializable

public final class DOID extends Object implements Serializable
Dictionary Object ID
See Also:
  • Field Details

    • UNDEFINED

      public static final String UNDEFINED
      See Also:
    • JAVA_TYPE_ID_PREFIX

      public static final String JAVA_TYPE_ID_PREFIX
      See Also:
    • BUILTIN_TYPE_ID_PREFIX

      public static final String BUILTIN_TYPE_ID_PREFIX
      See Also:
    • GLOBAL_TYPE_ID_PREFIX

      public static final String GLOBAL_TYPE_ID_PREFIX
      See Also:
    • LOCAL_TYPE_ID_PREFIX

      public static final String LOCAL_TYPE_ID_PREFIX
      See Also:
    • TEMP_TYPE_ID_PREFIX

      public static final String TEMP_TYPE_ID_PREFIX
      See Also:
    • nil

      public static final DOID nil
    • BOOLEAN

      public static final DOID BOOLEAN
    • STRING

      public static final DOID STRING
    • INT

      public static final DOID INT
    • LONG

      public static final DOID LONG
    • SHORT

      public static final DOID SHORT
    • CHAR

      public static final DOID CHAR
    • BYTE

      public static final DOID BYTE
    • DOUBLE

      public static final DOID DOUBLE
    • FLOAT

      public static final DOID FLOAT
    • NUMBER

      public static final DOID NUMBER
    • OBJECT

      public static final DOID OBJECT
    • NULL

      public static final DOID NULL
    • VOID

      public static final DOID VOID
    • CALENDAR

      public static final DOID CALENDAR
    • XML_CALENDAR

      public static final DOID XML_CALENDAR
    • XML_DURATION

      public static final DOID XML_DURATION
    • THROWABLE

      public static final DOID THROWABLE
    • LIST

      public static final DOID LIST
    • COLLECTION

      public static final DOID COLLECTION
    • BIG_INTEGER

      public static final DOID BIG_INTEGER
    • BIG_DECIMAL

      public static final DOID BIG_DECIMAL
    • DOUBLE_W

      public static final DOID DOUBLE_W
    • INTEGER_W

      public static final DOID INTEGER_W
    • SHORT_W

      public static final DOID SHORT_W
    • LONG_W

      public static final DOID LONG_W
    • FLOAT_W

      public static final DOID FLOAT_W
    • BOOLEAN_W

      public static final DOID BOOLEAN_W
    • COMPARABLE

      public static final DOID COMPARABLE
    • PRIMITIVE_NUMERIC

      @Deprecated public static final DOID PRIMITIVE_NUMERIC
      Deprecated.
    • AGGR_COUNT

      public static final DOID AGGR_COUNT
    • AGGR_AVG

      public static final DOID AGGR_AVG
    • AGGR_MAX

      public static final DOID AGGR_MAX
    • AGGR_MIN

      public static final DOID AGGR_MIN
    • AGGR_SUM

      public static final DOID AGGR_SUM
    • AGGR_COLLECTION

      public static final DOID AGGR_COLLECTION
    • FILTER_NAME

      public static final DOID FILTER_NAME
    • FILTER_DESCRIPTION

      public static final DOID FILTER_DESCRIPTION
    • FILTER_PRIORITY

      public static final DOID FILTER_PRIORITY
    • FILTER_START_DATE

      public static final DOID FILTER_START_DATE
    • FILTER_END_DATE

      public static final DOID FILTER_END_DATE
    • FILTER_MINUTES_UNTIL_START_DATE

      public static final DOID FILTER_MINUTES_UNTIL_START_DATE
    • FILTER_MINUTES_UNTIL_END_DATE

      public static final DOID FILTER_MINUTES_UNTIL_END_DATE
    • FILTER_DAYS_UNTIL_START_DATE

      public static final DOID FILTER_DAYS_UNTIL_START_DATE
    • FILTER_DAYS_UNTIL_END_DATE

      public static final DOID FILTER_DAYS_UNTIL_END_DATE
    • FILTER_YEARS_UNTIL_START_DATE

      public static final DOID FILTER_YEARS_UNTIL_START_DATE
    • FILTER_YEARS_UNTIL_END_DATE

      public static final DOID FILTER_YEARS_UNTIL_END_DATE
    • FILTER_ACTIVE

      public static final DOID FILTER_ACTIVE
    • FILTER_VALID

      public static final DOID FILTER_VALID
    • FILTER_FACT_TYPES

      public static final DOID FILTER_FACT_TYPES
    • TEST_EQ

      public static final DOID TEST_EQ
    • TEST_NE

      public static final DOID TEST_NE
    • TEST_LT

      public static final DOID TEST_LT
    • TEST_LE

      public static final DOID TEST_LE
    • TEST_GT

      public static final DOID TEST_GT
    • TEST_GE

      public static final DOID TEST_GE
    • TEST_BETWEEN

      public static final DOID TEST_BETWEEN
    • TEST_IN

      public static final DOID TEST_IN
    • TEST_NOT

      public static final DOID TEST_NOT
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isID

      public static boolean isID(String s)
    • isValid

      public boolean isValid()
    • isJava

      public boolean isJava()
    • isBuiltin

      public boolean isBuiltin()
    • isGlobal

      public boolean isGlobal()
    • isLocal

      public boolean isLocal()
    • isTemp

      public boolean isTemp()
    • isArray

      public boolean isArray()
    • intValue

      public int intValue()
      Get the integer value of the identifier, or 0 if not a local or temp ID
      Returns:
      int
    • getJavaClassName

      public String getJavaClassName()
      convert between names and IDs for Java and primitive IDs only
      Returns:
      Java class name (or member name) or null if not a java id
    • parse

      public static DOID parse(String raw)
      parse a DOID from a string
      Parameters:
      raw - String to parse
      Returns:
      DOID
    • newJavaClassID

      public static DOID newJavaClassID(Class c)
    • newJavaClassID

      public static DOID newJavaClassID(String name)
    • getJavaClassID

      public static DOID getJavaClassID(String name)
    • newJavaMethodID

      public static DOID newJavaMethodID(Class c, Method m)
    • newJavaFieldID

      public static DOID newJavaFieldID(Class c, Field f)
    • newJavaConstructorID

      public static DOID newJavaConstructorID(Constructor c)
    • newJavaPropertyID

      public static DOID newJavaPropertyID(Class containingClass, PropertyDescriptor prop)
    • newJavaPropertyID

      public static DOID newJavaPropertyID(String containingClassName, String propName)
    • newBuiltinID

      public static DOID newBuiltinID(String name)
    • newGlobalID

      public static DOID newGlobalID()
    • newLocalID

      public static DOID newLocalID(String name)
    • newTempID

      public static DOID newTempID(String name)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • isPrimitive

      public final boolean isPrimitive()
    • isPrimitiveNumeric

      public final boolean isPrimitiveNumeric()
    • isNumeric

      public final boolean isNumeric()
    • isXSData

      public final boolean isXSData()
    • isComparableWithBetween

      public final boolean isComparableWithBetween()
    • isPrimitiveOrNumericOrXSData

      public static boolean isPrimitiveOrNumericOrXSData(DOID id)