Class SDOConstants

java.lang.Object
org.eclipse.persistence.sdo.SDOConstants

public class SDOConstants extends Object

Purpose: Maintain constants in one class

Responsibilities:

  • Define and hold constants that are independent of classLoader, context.
  • Field Details

    • SDO_PREFIX

      public static final String SDO_PREFIX
      Strings for known uris and default prefix values
      See Also:
    • SDOXML_PREFIX

      public static final String SDOXML_PREFIX
      See Also:
    • SDOJAVA_PREFIX

      public static final String SDOJAVA_PREFIX
      See Also:
    • SDO_URL

      public static final String SDO_URL
      See Also:
    • SDOXML_URL

      public static final String SDOXML_URL
      See Also:
    • SDOJAVA_URL

      public static final String SDOJAVA_URL
      See Also:
    • ORACLE_SDO_URL

      public static final String ORACLE_SDO_URL
      namespace for custom unique properties
      See Also:
    • MIMETYPE_URL

      public static final String MIMETYPE_URL
      See Also:
    • ID_PROPERTY_NAME

      public static final String ID_PROPERTY_NAME
      open content property to be set when defining a Type via a DataObject for reference relationships
      See Also:
    • BOOLEAN

      public static final String BOOLEAN
      String values for type names in the commonj.sdo namespace
      See Also:
    • BYTE

      public static final String BYTE
      See Also:
    • BYTES

      public static final String BYTES
      See Also:
    • CHANGESUMMARY

      public static final String CHANGESUMMARY
      See Also:
    • CHARACTER

      public static final String CHARACTER
      See Also:
    • DATE

      public static final String DATE
      See Also:
    • DATAOBJECT

      public static final String DATAOBJECT
      See Also:
    • DATETIME

      public static final String DATETIME
      See Also:
    • DAY

      public static final String DAY
      See Also:
    • DECIMAL

      public static final String DECIMAL
      See Also:
    • DOUBLE

      public static final String DOUBLE
      See Also:
    • DURATION

      public static final String DURATION
      See Also:
    • FLOAT

      public static final String FLOAT
      See Also:
    • INT

      public static final String INT
      See Also:
    • INTEGER

      public static final String INTEGER
      See Also:
    • LONG

      public static final String LONG
      See Also:
    • MONTH

      public static final String MONTH
      See Also:
    • MONTHDAY

      public static final String MONTHDAY
      See Also:
    • OBJECT

      public static final String OBJECT
      See Also:
    • PROPERTY

      public static final String PROPERTY
      See Also:
    • SHORT

      public static final String SHORT
      See Also:
    • STRING

      public static final String STRING
      See Also:
    • STRINGS

      public static final String STRINGS
      See Also:
    • TIME

      public static final String TIME
      See Also:
    • TYPE

      public static final String TYPE
      See Also:
    • YEAR

      public static final String YEAR
      See Also:
    • YEARMONTH

      public static final String YEARMONTH
      See Also:
    • YEARMONTHDAY

      public static final String YEARMONTHDAY
      See Also:
    • URI

      public static final String URI
      See Also:
    • BOOLEANOBJECT

      public static final String BOOLEANOBJECT
      String values for type names in the commonj.sdo/java namespace
      See Also:
    • BYTEOBJECT

      public static final String BYTEOBJECT
      See Also:
    • CHARACTEROBJECT

      public static final String CHARACTEROBJECT
      See Also:
    • DOUBLEOBJECT

      public static final String DOUBLEOBJECT
      See Also:
    • FLOATOBJECT

      public static final String FLOATOBJECT
      See Also:
    • INTOBJECT

      public static final String INTOBJECT
      See Also:
    • LONGOBJECT

      public static final String LONGOBJECT
      See Also:
    • SHORTOBJECT

      public static final String SHORTOBJECT
      See Also:
    • XMLHELPER_LOAD_OPTIONS

      public static final String XMLHELPER_LOAD_OPTIONS
      See Also:
    • TYPE_LOAD_OPTION

      public static final String TYPE_LOAD_OPTION
      See Also:
    • ATTACHMENT_MARSHALLER_OPTION

      public static final String ATTACHMENT_MARSHALLER_OPTION
      See Also:
    • ATTACHMENT_UNMARSHALLER_OPTION

      public static final String ATTACHMENT_UNMARSHALLER_OPTION
      See Also:
    • globalHelperContext

      public static final HelperContext globalHelperContext
    • BOOLEAN_DEFAULT

      public static final Boolean BOOLEAN_DEFAULT
      Numeric primitive default instances see p 45 of Java Spec. 4th ed
    • BYTE_DEFAULT

      public static final Byte BYTE_DEFAULT
    • CHARACTER_DEFAULT

      public static final Character CHARACTER_DEFAULT
    • DOUBLE_DEFAULT

      public static final Double DOUBLE_DEFAULT
    • FLOAT_DEFAULT

      public static final Float FLOAT_DEFAULT
    • INTEGER_DEFAULT

      public static final Integer INTEGER_DEFAULT
    • LONG_DEFAULT

      public static final Long LONG_DEFAULT
    • SHORT_DEFAULT

      public static final Short SHORT_DEFAULT
    • SDO_BOOLEAN

      public static final SDOType SDO_BOOLEAN
    • SDO_BYTE

      public static final SDOType SDO_BYTE
    • SDO_BYTES

      public static final SDOType SDO_BYTES
    • SDO_CHARACTER

      public static final SDOType SDO_CHARACTER
    • SDO_DATE

      public static final SDOType SDO_DATE
    • SDO_DATETIME

      public static final SDOType SDO_DATETIME
    • SDO_DAY

      public static final SDOType SDO_DAY
    • SDO_DECIMAL

      public static final SDOType SDO_DECIMAL
    • SDO_DOUBLE

      public static final SDOType SDO_DOUBLE
    • SDO_DURATION

      public static final SDOType SDO_DURATION
    • SDO_FLOAT

      public static final SDOType SDO_FLOAT
    • SDO_INT

      public static final SDOType SDO_INT
    • SDO_INTEGER

      public static final SDOType SDO_INTEGER
    • SDO_LONG

      public static final SDOType SDO_LONG
    • SDO_MONTH

      public static final SDOType SDO_MONTH
    • SDO_MONTHDAY

      public static final SDOType SDO_MONTHDAY
    • SDO_OBJECT

      public static final SDOType SDO_OBJECT
    • SDO_SHORT

      public static final SDOType SDO_SHORT
    • SDO_STRING

      public static final SDOType SDO_STRING
    • SDO_STRINGS

      public static final SDOType SDO_STRINGS
    • SDO_TIME

      public static final SDOType SDO_TIME
    • SDO_YEAR

      public static final SDOType SDO_YEAR
    • SDO_YEARMONTH

      public static final SDOType SDO_YEARMONTH
    • SDO_YEARMONTHDAY

      public static final SDOType SDO_YEARMONTHDAY
    • SDO_URI

      public static final SDOType SDO_URI
    • SDO_BOOLEANOBJECT

      public static final SDOType SDO_BOOLEANOBJECT
      Type objects for types in the commonj.sdo/java namespace
    • SDO_BYTEOBJECT

      public static final SDOType SDO_BYTEOBJECT
    • SDO_CHARACTEROBJECT

      public static final SDOType SDO_CHARACTEROBJECT
    • SDO_DOUBLEOBJECT

      public static final SDOType SDO_DOUBLEOBJECT
    • SDO_FLOATOBJECT

      public static final SDOType SDO_FLOATOBJECT
    • SDO_INTOBJECT

      public static final SDOType SDO_INTOBJECT
    • SDO_LONGOBJECT

      public static final SDOType SDO_LONGOBJECT
    • SDO_SHORTOBJECT

      public static final SDOType SDO_SHORTOBJECT
    • ANY_TYPE

      public static final String ANY_TYPE
      XML String names and QName constants missing from org.eclipse.persistence.oxm.XMLConstants
      See Also:
    • ANY_URI

      public static final String ANY_URI
      See Also:
    • CONTAINMENT

      public static final String CONTAINMENT
      See Also:
    • XML_DURATION

      public static final String XML_DURATION
      See Also:
    • ENTITIES

      public static final String ENTITIES
      See Also:
    • ENTITY

      public static final String ENTITY
      See Also:
    • GDAY

      public static final String GDAY
      See Also:
    • GMONTH

      public static final String GMONTH
      See Also:
    • GMONTHDAY

      public static final String GMONTHDAY
      See Also:
    • GYEAR

      public static final String GYEAR
      See Also:
    • GYEARMONTH

      public static final String GYEARMONTH
      See Also:
    • ID

      public static final String ID
      See Also:
    • IDREF

      public static final String IDREF
      See Also:
    • IDREFS

      public static final String IDREFS
      See Also:
    • LANGUAGE

      public static final String LANGUAGE
      See Also:
    • NAME

      public static final String NAME
      See Also:
    • NCNAME

      public static final String NCNAME
      See Also:
    • NEGATIVEINTEGER

      public static final String NEGATIVEINTEGER
      See Also:
    • POSITIVEINTEGER

      public static final String POSITIVEINTEGER
      See Also:
    • NMTOKEN

      public static final String NMTOKEN
      See Also:
    • NMTOKENS

      public static final String NMTOKENS
      See Also:
    • NONNEGATIVEINTEGER

      public static final String NONNEGATIVEINTEGER
      See Also:
    • NONPOSITIVEINTEGER

      public static final String NONPOSITIVEINTEGER
      See Also:
    • NORMALIZEDSTRING

      public static final String NORMALIZEDSTRING
      See Also:
    • NOTATION

      public static final String NOTATION
      See Also:
    • TOKEN

      public static final String TOKEN
      See Also:
    • UNSIGNEDLONG

      public static final String UNSIGNEDLONG
      See Also:
    • ANY_TYPE_QNAME

      public static final QName ANY_TYPE_QNAME
    • ANY_URI_QNAME

      public static final QName ANY_URI_QNAME
    • ENTITIES_QNAME

      public static final QName ENTITIES_QNAME
    • ENTITY_QNAME

      public static final QName ENTITY_QNAME
    • DURATION_QNAME

      public static final QName DURATION_QNAME
    • GDAY_QNAME

      public static final QName GDAY_QNAME
    • GMONTH_QNAME

      public static final QName GMONTH_QNAME
    • GMONTHDAY_QNAME

      public static final QName GMONTHDAY_QNAME
    • GYEAR_QNAME

      public static final QName GYEAR_QNAME
    • GYEARMONTH_QNAME

      public static final QName GYEARMONTH_QNAME
    • ID_QNAME

      public static final QName ID_QNAME
    • IDREF_QNAME

      public static final QName IDREF_QNAME
    • IDREFS_QNAME

      public static final QName IDREFS_QNAME
    • LANGUAGE_QNAME

      public static final QName LANGUAGE_QNAME
    • NAME_QNAME

      public static final QName NAME_QNAME
    • NCNAME_QNAME

      public static final QName NCNAME_QNAME
    • NEGATIVEINTEGER_QNAME

      public static final QName NEGATIVEINTEGER_QNAME
    • POSITIVEINTEGER_QNAME

      public static final QName POSITIVEINTEGER_QNAME
    • NMTOKEN_QNAME

      public static final QName NMTOKEN_QNAME
    • NMTOKENS_QNAME

      public static final QName NMTOKENS_QNAME
    • NONNEGATIVEINTEGER_QNAME

      public static final QName NONNEGATIVEINTEGER_QNAME
    • NONPOSITIVEINTEGER_QNAME

      public static final QName NONPOSITIVEINTEGER_QNAME
    • NORMALIZEDSTRING_QNAME

      public static final QName NORMALIZEDSTRING_QNAME
    • NOTATION_QNAME

      public static final QName NOTATION_QNAME
    • TOKEN_QNAME

      public static final QName TOKEN_QNAME
    • UNSIGNEDLONG_QNAME

      public static final QName UNSIGNEDLONG_QNAME
    • XML_MIME_TYPE_QNAME

      public static final QName XML_MIME_TYPE_QNAME
    • MIMETYPE_NAME

      public static final String MIMETYPE_NAME
      See Also:
    • XML_MIME_TYPE_PROPERTY_QNAME

      public static final QName XML_MIME_TYPE_PROPERTY_QNAME
    • ID_PROPERTY_QNAME

      public static final QName ID_PROPERTY_QNAME
    • DOCUMENTATION

      public static final String DOCUMENTATION
      See Also:
    • APPINFO

      public static final String APPINFO
      See Also:
    • SDOXML_ALIASNAME

      public static final String SDOXML_ALIASNAME
      Strings and QNames for annotations defined in the commonj.sdo/XML namespace
      See Also:
    • SDOXML_NAME

      public static final String SDOXML_NAME
      See Also:
    • SDOXML_PROPERTYTYPE

      public static final String SDOXML_PROPERTYTYPE
      See Also:
    • SDOXML_OPPOSITEPROPERTY

      public static final String SDOXML_OPPOSITEPROPERTY
      See Also:
    • SDOXML_SEQUENCE

      public static final String SDOXML_SEQUENCE
      See Also:
    • SDOXML_READONLY

      public static final String SDOXML_READONLY
      See Also:
    • SDOXML_DATATYPE

      public static final String SDOXML_DATATYPE
      See Also:
    • SDOXML_STRING_NAME

      public static final String SDOXML_STRING_NAME
      See Also:
    • SDOXML_MANY

      public static final String SDOXML_MANY
      See Also:
    • XMLELEMENT_PROPERTY_NAME

      public static final String XMLELEMENT_PROPERTY_NAME
      See Also:
    • SDOXML_MANY_QNAME

      public static final QName SDOXML_MANY_QNAME
    • SDOXML_ALIASNAME_QNAME

      public static final QName SDOXML_ALIASNAME_QNAME
    • SDOXML_NAME_QNAME

      public static final QName SDOXML_NAME_QNAME
    • SDOXML_SEQUENCE_QNAME

      public static final QName SDOXML_SEQUENCE_QNAME
    • SDOXML_READONLY_QNAME

      public static final QName SDOXML_READONLY_QNAME
    • SDOXML_DATATYPE_QNAME

      public static final QName SDOXML_DATATYPE_QNAME
    • SDOXML_STRING_QNAME

      public static final QName SDOXML_STRING_QNAME
    • SDOXML_PROPERTYTYPE_QNAME

      public static final QName SDOXML_PROPERTYTYPE_QNAME
    • SDOXML_OPPOSITEPROPERTY_QNAME

      public static final QName SDOXML_OPPOSITEPROPERTY_QNAME
    • XML_ELEMENT_QNAME

      public static final QName XML_ELEMENT_QNAME
    • XMLELEMENT_PROPERTY

      public static final SDOProperty XMLELEMENT_PROPERTY
    • SDOJAVA_INSTANCECLASS

      public static final String SDOJAVA_INSTANCECLASS
      See Also:
    • SDOJAVA_EXTENDEDINSTANCECLASS

      public static final String SDOJAVA_EXTENDEDINSTANCECLASS
      See Also:
    • SDOJAVA_NESTEDINTERFACES

      public static final String SDOJAVA_NESTEDINTERFACES
      See Also:
    • SDOJAVA_PACKAGE_QNAME

      public static final QName SDOJAVA_PACKAGE_QNAME
    • SDOJAVA_INSTANCECLASS_QNAME

      public static final QName SDOJAVA_INSTANCECLASS_QNAME
    • SDOJAVA_EXTENDEDINSTANCECLASS_QNAME

      public static final QName SDOJAVA_EXTENDEDINSTANCECLASS_QNAME
    • SDOJAVA_NESTEDINTERFACES_QNAME

      public static final QName SDOJAVA_NESTEDINTERFACES_QNAME
    • MIME_TYPE_PROPERTY_NAME

      public static final String MIME_TYPE_PROPERTY_NAME
      See Also:
    • MIME_TYPE_PROPERTY

      public static final SDOProperty MIME_TYPE_PROPERTY
    • MIME_TYPE_PROPERTY_PROPERTY

      public static final SDOProperty MIME_TYPE_PROPERTY_PROPERTY
    • XML_SCHEMA_TYPE_NAME

      public static final String XML_SCHEMA_TYPE_NAME
      See Also:
    • DOCUMENTATION_PROPERTY

      public static final SDOProperty DOCUMENTATION_PROPERTY
    • JAVACLASS_PROPERTY_NAME

      public static final String JAVACLASS_PROPERTY_NAME
      See Also:
    • JAVA_CLASS_PROPERTY

      public static final SDOProperty JAVA_CLASS_PROPERTY
    • ID_PROPERTY

      public static final SDOProperty ID_PROPERTY
      open content property to be set when defining a Type via a DataObject for reference relationships
    • APPINFO_PROPERTY

      public static final SDOProperty APPINFO_PROPERTY
    • MIME_TYPE_QNAME

      public static final QName MIME_TYPE_QNAME
      generate built-in open content property QNames
    • MIME_TYPE_PROPERTY_QNAME

      public static final QName MIME_TYPE_PROPERTY_QNAME
    • SCHEMA_TYPE_QNAME

      public static final QName SCHEMA_TYPE_QNAME
    • JAVA_CLASS_QNAME

      public static final QName JAVA_CLASS_QNAME
    • XML_DATATYPE_QNAME

      public static final QName XML_DATATYPE_QNAME
    • XML_ID_PROPERTY_QNAME

      public static final QName XML_ID_PROPERTY_QNAME
    • DOCUMENTATION_PROPERTY_QNAME

      public static final QName DOCUMENTATION_PROPERTY_QNAME
    • APPINFO_PROPERTY_QNAME

      public static final QName APPINFO_PROPERTY_QNAME
    • JAVADOC_START

      public static final String JAVADOC_START
      Strings used when generating javadocs in generated Java source files
      See Also:
    • JAVADOC_LINE

      public static final String JAVADOC_LINE
      See Also:
    • JAVADOC_END

      public static final String JAVADOC_END
      See Also:
    • JAVA_PACKAGE_NAME_SEPARATOR

      public static final String JAVA_PACKAGE_NAME_SEPARATOR
      Strings used when generating classes
      See Also:
    • JAVA_TYPEGENERATION_DEFAULT_PACKAGE_NAME

      public static final String JAVA_TYPEGENERATION_DEFAULT_PACKAGE_NAME
      See Also:
    • JAVA_TYPEGENERATION_NO_NAMESPACE

      public static final String JAVA_TYPEGENERATION_NO_NAMESPACE
      See Also:
    • SDO_IMPL_NAME

      public static final String SDO_IMPL_NAME
      See Also:
    • javaReservedWordsList

      public static final String[] javaReservedWordsList
      The following reserved words are not valid in generated classes with prepended get/set
    • sdoInterfaceReservedWordsList

      public static final String[] sdoInterfaceReservedWordsList
      All no-arg get/ single-arg set public SDO interface functions on SDODataObject must appear in this list.
    • CHANGESUMMARY_REF

      public static final String CHANGESUMMARY_REF
      Names for attributes available on ChangeSummary
      See Also:
    • CHANGESUMMARY_UNSET

      public static final String CHANGESUMMARY_UNSET
      See Also:
    • SDO_HELPER_CONTEXT

      public static final String SDO_HELPER_CONTEXT
      See Also:
    • APPINFO_SOURCE_ATTRIBUTE

      public static final String APPINFO_SOURCE_ATTRIBUTE
      Name of source attribute on appinfo
      See Also:
    • EMPTY_STRING

      public static final String EMPTY_STRING
      empty string ""
      See Also:
    • SDO_ISSET_METHOD_NAME

      public static final String SDO_ISSET_METHOD_NAME
      reflective isSet method name
      See Also:
    • SDO_CHANGESUMMARY_REF_PATH_PREFIX

      public static final String SDO_CHANGESUMMARY_REF_PATH_PREFIX
      SDO changeSummary reference path prefix string = #
      See Also:
    • SDO_CHANGESUMMARY_REF_PATH_PREFIX_LENGTH

      public static final int SDO_CHANGESUMMARY_REF_PATH_PREFIX_LENGTH
    • SDO_DATA_OBJECT_IMPL_CLASS_NAME

      public static final String SDO_DATA_OBJECT_IMPL_CLASS_NAME
      default implementation class java.util.HashMap
      See Also:
    • CLASSLOADER_WEB_FRAGMENT

      public static final String CLASSLOADER_WEB_FRAGMENT
      A classloader toString containing (.web.) means we are running from a web container client
      See Also:
    • CLASSLOADER_EJB_FRAGMENT

      public static final String CLASSLOADER_EJB_FRAGMENT
      A classloader toString containing (.wrappers) means we are running from a local ejb container client
      See Also:
    • CLASSLOADER_OC4J_FRAGMENT

      public static final String CLASSLOADER_OC4J_FRAGMENT
      A classloader toString containing (oc4j:) means we are running from an 4 levels up from an ejb container
      See Also:
    • SDO_XPATH_NS_SEPARATOR_FRAGMENT

      public static final String SDO_XPATH_NS_SEPARATOR_FRAGMENT
      XPath ns separator ":"
      See Also:
    • SDO_XPATH_SEPARATOR_FRAGMENT

      public static final String SDO_XPATH_SEPARATOR_FRAGMENT
      XPath separator "/"
      See Also:
    • SDO_XPATH_LIST_INDEX_OPEN_BRACKET

      public static final String SDO_XPATH_LIST_INDEX_OPEN_BRACKET
      XPath List index open bracket "["
      See Also:
    • SDO_XPATH_LIST_INDEX_CLOSE_BRACKET

      public static final String SDO_XPATH_LIST_INDEX_CLOSE_BRACKET
      XPath List index close bracket "]"
      See Also:
    • SDO_XPATH_TO_ROOT

      public static final String SDO_XPATH_TO_ROOT
      XPath to a data object from itself "/"
      See Also:
    • SDO_XPATH_INVALID_PATH

      public static final String SDO_XPATH_INVALID_PATH
      XPath to sibling or an invalid non-existent node currently = null
    • ALLOWED_DESERIALIZATION_CLASS_NAMES

      public static final Set<String> ALLOWED_DESERIALIZATION_CLASS_NAMES
      List of the classes allowed to deserialize in SDO
  • Constructor Details

    • SDOConstants

      public SDOConstants()