|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
| 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.AggregateMapping
oracle.toplink.mappings.foundation.AbstractCompositeCollectionMapping
public abstract class AbstractCompositeCollectionMapping
| Constructor Summary | |
|---|---|
AbstractCompositeCollectionMapping()Default constructor. |
|
| Method Summary | |
|---|---|
Converter |
getConverter()Return the converter on the mapping. |
boolean |
hasConverter()Indicates if there is a converter on the mapping. |
void |
setContainerPolicy(oracle.toplink.internal.queryframework.ContainerPolicy containerPolicy)ADVANCED: Set the mapping's containerPolicy. |
void |
setConverter(Converter converter)Set the converter on the mapping. |
void |
setField(DatabaseField field)Set the field in the mapping. |
void |
simpleAddToCollectionChangeRecord(java.lang.Object referenceKey, java.lang.Object changeSetToAdd, oracle.toplink.internal.sessions.ObjectChangeSet changeSet, oracle.toplink.internal.sessions.AbstractSession session)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)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. |
void |
useCollectionClass(java.lang.Class concreteContainerClass)Configure the mapping to use an instance of the specified container class to hold the target objects. |
void |
useCollectionClassName(java.lang.String concreteContainerClassName) |
void |
useListClassName(java.lang.String concreteContainerClassName) |
void |
useMapClass(java.lang.Class concreteContainerClass, java.lang.String methodName)Configure the mapping to use an instance of the specified container class to hold the target objects. |
void |
useMapClassName(java.lang.String concreteContainerClassName, java.lang.String methodName) |
| 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 |
| Constructor Detail |
|---|
public AbstractCompositeCollectionMapping()
| Method Detail |
|---|
public Converter getConverter()
public boolean hasConverter()
public void setContainerPolicy(oracle.toplink.internal.queryframework.ContainerPolicy containerPolicy)
setContainerPolicy in interface ContainerMappingpublic void setConverter(Converter converter)
public void setField(DatabaseField field)
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 DatabaseMapping
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 DatabaseMappingpublic void useCollectionClass(java.lang.Class concreteContainerClass)
jdk1.2.x: The container class must implement (directly or indirectly) the Collection interface.
jdk1.1.x: The container class must be a subclass of Vector.
useCollectionClass in interface ContainerMappingpublic void useCollectionClassName(java.lang.String concreteContainerClassName)
public void useListClassName(java.lang.String concreteContainerClassName)
public void useMapClass(java.lang.Class concreteContainerClass,
java.lang.String methodName)
jdk1.2.x: The container class must implement (directly or indirectly) the Map interface.
jdk1.1.x: The container class must be a subclass of Hashtable.
The referenceClass must be set before calling this method.
useMapClass in interface ContainerMapping
public void useMapClassName(java.lang.String concreteContainerClassName,
java.lang.String methodName)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||