public interface PhysicalDataContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright statement
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createPhysicalObject(java.lang.Object owningObject,
java.lang.Class objectClass)
Create a physical entity of the specified entity class.
|
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()
Returns a boolean value to indicate whether or not you have reached the end of the result set.
|
java.math.BigInteger |
getPagingRecordSetCount()
Returns the number of records from the query result set returned by this request.
|
java.lang.String |
getPagingRecordSetReferenceId()
Returns a paging reference identifier for a paging request.
|
java.math.BigInteger |
getPagingRecordSetStartNumber()
This method returns the index of the first record to be
retrieved from the query result set.
|
java.math.BigInteger |
getPagingTotal()
Returns the total number of physical objects which match the specified selection criteria in a paged search.
|
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.
|
static final java.lang.String COPYRIGHT
java.util.List getPhysicalObjects()
java.lang.Object createPhysicalObject(java.lang.Object owningObject, java.lang.Class objectClass)
owningObject
- The parent physical entityobjectClass
- The entity classvoid removePhysicalObject(java.lang.Object entityObject)
entityObject
- The entity object to be removedvoid save()
java.lang.Long getNextPrimaryKey(java.lang.Class aClass)
aClass
- - class representing the physical tablejava.math.BigInteger getPagingTotal()
boolean getPagingRecordSetCompleteIndicator()
java.lang.String getPagingRecordSetReferenceId()
java.math.BigInteger getPagingRecordSetStartNumber()
java.math.BigInteger getPagingRecordSetCount()