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

B32476-04

oracle.toplink.mappings.foundation
Class AbstractCompositeObjectMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.AggregateMapping
          extended by oracle.toplink.mappings.foundation.AbstractCompositeObjectMapping
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
EISCompositeObjectMapping, SDKAggregateObjectMapping, XMLCompositeObjectMapping

public abstract class AbstractCompositeObjectMapping
extends AggregateMapping

Chunks of data from non-relational data sources can have an embedded 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:
Serialized Form

Constructor Summary
AbstractCompositeObjectMapping()
          Default constructor.
 
Method Summary
 Converter getConverter()
          Return the converter on the mapping.
 boolean hasConverter()
          Indicates if there is a converter on the mapping.
 void setConverter(Converter converter)
          Set the converter on the mapping.
 void setField(DatabaseField field)
          The aggregate object is held in a single field.
 
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, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractCompositeObjectMapping

public AbstractCompositeObjectMapping()
Default constructor.

Method Detail

getConverter

public Converter getConverter()
Return the converter on the mapping. A converter can be used to convert between the object's value and database value of the attribute.


hasConverter

public boolean hasConverter()
Indicates if there is a converter on the mapping.


setConverter

public void setConverter(Converter converter)
Set the converter on the mapping. A converter can be used to convert between the object's value and database value of the attribute.


setField

public void setField(DatabaseField field)
The aggregate object is held in a single field.


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