Class PhysicalDataContainerImpl

  • java.lang.Object
  • All Implemented Interfaces:

    public class PhysicalDataContainerImpl
    extends java.lang.Object
    implements PhysicalDataContainer
    This is an implementation for the physical data container that is used to perform CRUD operations on the physical entities.
    • Constructor Summary

      Constructor and Description
      PhysicalDataContainerImpl(java.lang.String componentId, EntityContainer anEntityContainer, aDataMediator, KeyManager aKeyManager)
      Creates a new physical data container
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object createPhysicalObject(java.lang.Object owningObject, java.lang.Class objectClass)
      Creates a physical entity of the specified entity class
      EntityContainer getEntityContainer()
      This method returns the entity container associated with this physical data container.
      java.lang.Long getNextPrimaryKey(java.lang.Class aClass)
      Gets the unique key for a database table represented by the given class (the mapping between the physical table name and class name is defined by the object-relational mapping).
      boolean getPagingRecordSetCompleteIndicator()
      java.math.BigInteger getPagingRecordSetCount()
      Returns the number of records from the query result set returned by this request.
      java.lang.String getPagingRecordSetReferenceId()
      java.math.BigInteger getPagingRecordSetStartNumber()
      java.math.BigInteger getPagingTotal()
      java.util.List getPhysicalObjects()
      Gets the physical objects
      void removePhysicalObject(java.lang.Object entityObject)
      Removes the physical object from the objects associated with the container.
      void save()
      This method applies all the changes made to the entity objects stored by this physical data container.
      • Methods inherited from class java.lang.Object

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

      • PhysicalDataContainerImpl

        public PhysicalDataContainerImpl(java.lang.String componentId,
                                         EntityContainer anEntityContainer,
                                         KeyManager aKeyManager)
        Creates a new physical data container
        componentId - The component id.
        anEntityContainer - The entity container which contains physical SDO.
        aDataMediator - An instance object of DataMediator for the current data mediator the caller is using.
        aKeyManager - The instance object of KeyManager