Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.sdk
Class SDKAggregateCollectionMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.AggregateMapping
          extended by oracle.toplink.mappings.foundation.AbstractCompositeCollectionMapping
              extended by oracle.toplink.sdk.SDKAggregateCollectionMapping

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ContainerMapping, SDKCollectionMapping
Direct Known Subclasses:
ObjectArrayMapping

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by oracle.toplink.eis

public class SDKAggregateCollectionMapping
extends AbstractCompositeCollectionMapping
implements SDKCollectionMapping

Chunks of data from non-relational data sources can have embedded collections of component objects. These can be mapped using this mapping. The format of the embedded data is determined by the reference descriptor.

Since:
TOPLink/Java 3.0
See Also:
SDKDescriptor, SDKFieldValue, SDKCollectionMappingHelper, SDKCollectionChangeRecord, SDKOrderedCollectionChangeRecord, Serialized Form

Constructor Summary
SDKAggregateCollectionMapping()
          Deprecated. Default constructor.

 

Method Summary
 java.lang.String getFieldName()
          Deprecated. Return the mapping's field name.
 void setFieldName(java.lang.String fieldName)
          Deprecated. Set the mapping's field name.
 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.foundation.AbstractCompositeCollectionMapping
getConverter, hasConverter, setContainerPolicy, setConverter, setField, useCollectionClass, useCollectionClassName, useListClassName, useMapClass, useMapClassName

 

Methods inherited from class oracle.toplink.mappings.AggregateMapping
getReferenceClass, setReferenceClass

 

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
buildAddedElementFromChangeSet, buildChangeSet, buildElementFromElement, buildRemovedElementFromChangeSet, compareElements, compareElementsForChange, getAttributeName, getRealCollectionAttributeValueFromObject, mapKeyHasChanged, setRealAttributeValueInObject

 

Methods inherited from interface oracle.toplink.mappings.ContainerMapping
getContainerPolicy, setContainerPolicy, useCollectionClass, useMapClass

 

Constructor Detail

SDKAggregateCollectionMapping

public SDKAggregateCollectionMapping()
Deprecated. 
Default constructor.

Method Detail

getFieldName

public java.lang.String getFieldName()
Deprecated. 
Return the mapping's field name. This is the field in the database row that will hold the nested rows that make up the aggregate collection.

setFieldName

public void setFieldName(java.lang.String fieldName)
Deprecated. 
Set the mapping's field name. This is the field in the database row that will hold the nested rows that make up the aggregate collection.

simpleAddToCollectionChangeRecord

public 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.
Overrides:
simpleAddToCollectionChangeRecord in class AbstractCompositeCollectionMapping

simpleRemoveFromCollectionChangeRecord

public 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.
Overrides:
simpleRemoveFromCollectionChangeRecord in class AbstractCompositeCollectionMapping

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.