com.ibm.commerce.foundation.server.services.dataaccess.db.jdbc

Class ComponentMetadata

  • java.lang.Object
    • com.ibm.commerce.foundation.server.services.dataaccess.db.jdbc.ComponentMetadata
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      abstract java.lang.String getEPackageName()
      Gete the physical static SDO package impl class name
      com.ibm.websphere.sdo.mediator.jdbc.metadata.Metadata getMetadata() 
      java.lang.String getMetadataFileDirectory()
      Override to return the directory of the metadata file..
      java.lang.String getMetadataFileName()
      Override to return the metadata filename.
      com.ibm.commerce.foundation.internal.server.services.dataaccess.util.metadata.MetadataType getObjectRelationMetadata()
      Return the object-relational metadata as configured in the wc-object-relationa-metadata.xml files.
      org.eclipse.emf.ecore.EClass getRootEClass()
      By default will return null.
      • Methods inherited from class java.lang.Object

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

      • ComponentMetadata

        public ComponentMetadata()
    • Method Detail

      • getMetadataFileDirectory

        public final java.lang.String getMetadataFileDirectory()
        Override to return the directory of the metadata file.. This name must be in the classpath.
        Returns:
        the directory name of configuration.
      • getMetadataFileName

        public final java.lang.String getMetadataFileName()
        Override to return the metadata filename. This name must be in the classpath.
        Returns:
        the metadata file name.
      • getEPackageName

        public abstract java.lang.String getEPackageName()
        Gete the physical static SDO package impl class name
        Returns:
        the class name of the physical static SDO package for the component.
      • getRootEClass

        public org.eclipse.emf.ecore.EClass getRootEClass()
        By default will return null. If there is a static SDO defined for this component, then override the method and return the root EClass.
        Returns:
        The root EClass; null if there is no static SDO defined
      • getMetadata

        public com.ibm.websphere.sdo.mediator.jdbc.metadata.Metadata getMetadata()
        Returns:
        JDBC Metadata instance.
      • getObjectRelationMetadata

        public com.ibm.commerce.foundation.internal.server.services.dataaccess.util.metadata.MetadataType getObjectRelationMetadata()
        Return the object-relational metadata as configured in the wc-object-relationa-metadata.xml files.
        Returns:
        object-relational metadata