Class SDODataFactoryDelegate

  • All Implemented Interfaces:
    commonj.sdo.helper.DataFactory, SDODataFactory
    Direct Known Subclasses:
    JAXBDataFactory

    public class SDODataFactoryDelegate
    extends java.lang.Object
    implements SDODataFactory

    Purpose: Helper to provide access to SDO Data Factory.

    Responsibilities:

    • Create DataObjects for given uri/typename pairs, interface class or type
    • Field Summary

      • Fields inherited from interface commonj.sdo.helper.DataFactory

        INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
      SDODataFactoryDelegate​(commonj.sdo.helper.HelperContext aContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      commonj.sdo.DataObject create​(commonj.sdo.Type type)  
      commonj.sdo.DataObject create​(java.lang.Class interfaceClass)  
      commonj.sdo.DataObject create​(java.lang.String uri, java.lang.String typeName)  
      commonj.sdo.helper.HelperContext getHelperContext()
      INTERNAL: Return the current helperContext associated with this delegate.
      void setHelperContext​(commonj.sdo.helper.HelperContext helperContext)
      INTERNAL: Set the current helperContext to be associated with this delegate
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SDODataFactoryDelegate

        public SDODataFactoryDelegate​(commonj.sdo.helper.HelperContext aContext)
    • Method Detail

      • create

        public commonj.sdo.DataObject create​(java.lang.String uri,
                                             java.lang.String typeName)
        Specified by:
        create in interface commonj.sdo.helper.DataFactory
      • create

        public commonj.sdo.DataObject create​(java.lang.Class interfaceClass)
        Specified by:
        create in interface commonj.sdo.helper.DataFactory
      • create

        public commonj.sdo.DataObject create​(commonj.sdo.Type type)
        Specified by:
        create in interface commonj.sdo.helper.DataFactory
      • getHelperContext

        public commonj.sdo.helper.HelperContext getHelperContext()
        INTERNAL: Return the current helperContext associated with this delegate.
        Specified by:
        getHelperContext in interface SDODataFactory
        Returns:
      • setHelperContext

        public void setHelperContext​(commonj.sdo.helper.HelperContext helperContext)
        INTERNAL: Set the current helperContext to be associated with this delegate
        Specified by:
        setHelperContext in interface SDODataFactory