Module eclipselink

Class SDODataObjectType

    • Constructor Detail

      • SDODataObjectType

        public SDODataObjectType​(SDOTypeHelper sdoTypeHelper)
    • Method Detail

      • getAliasNames

        public List getAliasNames()
        Description copied from interface: Type
        Return a list of alias names for this Type.
        Specified by:
        getAliasNames in interface Type
        Overrides:
        getAliasNames in class SDOType
        Returns:
        a list of alias names for this Type.
      • getBaseTypes

        public List getBaseTypes()
        Description copied from interface: Type
        Returns the List of base Types for this Type. The List is empty if there are no base Types. XSD , , and Java extends keyword are mapped to this list.
        Specified by:
        getBaseTypes in interface Type
        Overrides:
        getBaseTypes in class SDOType
        Returns:
        the List of base Types for this Type.
      • getName

        public String getName()
        Description copied from interface: Type
        Returns the name of the type.
        Specified by:
        getName in interface Type
        Overrides:
        getName in class SDOType
        Returns:
        the type name.
      • getURI

        public String getURI()
        Description copied from interface: Type
        Returns the namespace URI of the type or null if the type has no URI (for example it was generated from a Schema with no target namespace).
        Specified by:
        getURI in interface Type
        Overrides:
        getURI in class SDOType
        Returns:
        the namespace URI.
      • isAbstract

        public boolean isAbstract()
        Description copied from interface: Type
        Indicates if this Type is abstract. If true, this Type cannot be instantiated. Abstract types cannot be used in DataObject or DataFactory create methods.
        Specified by:
        isAbstract in interface Type
        Overrides:
        isAbstract in class SDOType
        Returns:
        true if this Type is abstract.
      • isDataType

        public boolean isDataType()
        Description copied from interface: Type
        Indicates if this Type specifies DataTypes (true) or DataObjects (false). When false, any object that is an instance of this type also implements the DataObject interface. True for simple types such as Strings and numbers. For any object:
           isInstance(object) && !isDataType() implies
           DataObject.class.isInstance(object) returns true. 
         
        Specified by:
        isDataType in interface Type
        Overrides:
        isDataType in class SDOType
        Returns:
        true if Type specifies DataTypes, false for DataObjects.
      • isOpen

        public boolean isOpen()
        Description copied from interface: Type
        Indicates if this Type allows any form of open content. If false, dataObject.getInstanceProperties() must be the same as dataObject.getType().getProperties() for any DataObject dataObject of this Type.
        Specified by:
        isOpen in interface Type
        Overrides:
        isOpen in class SDOType
        Returns:
        true if this Type allows open content.
      • isSequenced

        public boolean isSequenced()
        Description copied from interface: Type
        Indicates if this Type specifies Sequenced DataObjects. Sequenced DataObjects are used when the order of values between Properties must be preserved. When true, a DataObject will return a Sequence. For example,
          Sequence elements = dataObject.getSequence();
         
        Specified by:
        isSequenced in interface Type
        Overrides:
        isSequenced in class SDOType
        Returns:
        true if this Type specifies Sequenced DataObjects.