|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.mappings.DatabaseMapping oracle.toplink.mappings.ForeignReferenceMapping oracle.toplink.mappings.CollectionMapping oracle.toplink.sdk.SDKObjectCollectionMapping
oracle.toplink.eis
public class SDKObjectCollectionMapping
SDKObjectCollectionMapping
is used to represent
a relationship between a single
source object and collection of target objects; where,
on the data store, the source object has a collection of
references (foreign keys) to the target objects. The parent
database row stores the nested foreign keys in database rows
in an SDKFieldValue
.
SDKDescriptor
,
SDKFieldValue
,
SDKCollectionMappingHelper
,
SDKCollectionChangeRecord
,
SDKOrderedCollectionChangeRecord
,
Serialized FormField Summary |
---|
Fields inherited from class oracle.toplink.mappings.ForeignReferenceMapping |
---|
INNER_JOIN, NONE, OUTER_JOIN |
Constructor Summary | |
---|---|
SDKObjectCollectionMapping()
Deprecated. Default constructor. |
Method Summary | |
---|---|
void |
addAscendingOrdering(java.lang.String queryKeyName)
Deprecated. Currently, the TOPLink SDK does not support query result ordering. |
void |
addDescendingOrdering(java.lang.String queryKeyName)
Deprecated. Currently, the TOPLink SDK does not support query result ordering. |
void |
addSourceForeignKeyFieldName(java.lang.String sourceForeignKeyFieldName,
java.lang.String targetKeyFieldName)
Deprecated. Define the source foreign key relationship in the one-to-many mapping. |
java.lang.String |
getFieldName()
Deprecated. Return the name of the field mapped by the mapping. |
java.lang.String |
getReferenceDataTypeName()
Deprecated. Return the "data type" of the reference objects. |
void |
setFieldName(java.lang.String fieldName)
Deprecated. Set the name of the field mapped by the mapping. |
void |
setReferenceDataTypeName(java.lang.String referenceDataTypeName)
Deprecated. Set the "data type" of the reference objects. |
void |
setSelectionCall(SDKCall call)
Deprecated. Set the custom call that will perform the read query to read all the related objects. |
void |
setSourceForeignKeyFieldName(java.lang.String sourceForeignKeyFieldName)
Deprecated. Define the source foreign key relationship in the one-to-many mapping. |
void |
setSourceForeignKeyFieldNames(java.lang.String[] sourceForeignKeyFieldNames,
java.lang.String[] targetKeyFieldNames)
Deprecated. Define the source foreign key relationship in the one-to-many mapping. |
void |
setUsesBatchReading(boolean usesBatchReading)
Deprecated. Currently, the TOPLink SDK does not support batch reading. |
void |
simpleAddToCollectionChangeRecord(java.lang.Object referenceKey,
java.lang.Object changeSetToAdd,
oracle.toplink.internal.sessions.ObjectChangeSet changeSet,
oracle.toplink.internal.sessions.AbstractSession session)
Deprecated. ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps. |
void |
simpleRemoveFromCollectionChangeRecord(java.lang.Object referenceKey,
java.lang.Object changeSetToRemove,
oracle.toplink.internal.sessions.ObjectChangeSet changeSet,
oracle.toplink.internal.sessions.AbstractSession session)
Deprecated. ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps. |
Methods inherited from class oracle.toplink.mappings.CollectionMapping |
---|
addAggregateOrderBy, addOrderBy, getRealCollectionAttributeValueFromObject, setContainerPolicy, setCustomDeleteAllQuery, setDeleteAllCall, setDeleteAllSQLString, setSessionName, useCollectionClass, useMapClass, useMapClass, useSortedSetClass, useTransparentCollection, useTransparentList, useTransparentMap, useTransparentSet |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
---|
getAttributeAccessor, getAttributeClassification, getAttributeName, getGetMethodName, getProperty, getSetMethodName, isLazy, isOptional, isUsingMethodAccess, readOnly, readWrite, setAttributeAccessor, setAttributeName, setGetMethodName, setIsLazy, setIsOptional, setIsReadOnly, setProperty, setSetMethodName, setWeight |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.toplink.sdk.SDKCollectionMapping |
---|
getAttributeName, getRealCollectionAttributeValueFromObject, setRealAttributeValueInObject |
Methods inherited from interface oracle.toplink.mappings.ContainerMapping |
---|
getContainerPolicy, setContainerPolicy, useCollectionClass, useMapClass |
Constructor Detail |
---|
public SDKObjectCollectionMapping()
Method Detail |
---|
public void addAscendingOrdering(java.lang.String queryKeyName)
addAscendingOrdering
in class CollectionMapping
public void addDescendingOrdering(java.lang.String queryKeyName)
addDescendingOrdering
in class CollectionMapping
public void addSourceForeignKeyFieldName(java.lang.String sourceForeignKeyFieldName, java.lang.String targetKeyFieldName)
public java.lang.String getFieldName()
public java.lang.String getReferenceDataTypeName()
public void setFieldName(java.lang.String fieldName)
public void setReferenceDataTypeName(java.lang.String referenceDataTypeName)
public void setSelectionCall(SDKCall call)
public void setSourceForeignKeyFieldName(java.lang.String sourceForeignKeyFieldName)
public void setSourceForeignKeyFieldNames(java.lang.String[] sourceForeignKeyFieldNames, java.lang.String[] targetKeyFieldNames)
public void setUsesBatchReading(boolean usesBatchReading)
setUsesBatchReading
in class ForeignReferenceMapping
public void simpleAddToCollectionChangeRecord(java.lang.Object referenceKey, java.lang.Object changeSetToAdd, oracle.toplink.internal.sessions.ObjectChangeSet changeSet, oracle.toplink.internal.sessions.AbstractSession session)
simpleAddToCollectionChangeRecord
in class CollectionMapping
public void simpleRemoveFromCollectionChangeRecord(java.lang.Object referenceKey, java.lang.Object changeSetToRemove, oracle.toplink.internal.sessions.ObjectChangeSet changeSet, oracle.toplink.internal.sessions.AbstractSession session)
simpleRemoveFromCollectionChangeRecord
in class CollectionMapping
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |