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


Class AggregateMapping

  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.AggregateMapping
All Implemented Interfaces:, java.lang.Cloneable
Direct Known Subclasses:
AbstractCompositeCollectionMapping, AbstractCompositeObjectMapping, AggregateObjectMapping, XMLObjectReferenceMapping

public abstract class AggregateMapping
extends DatabaseMapping

Purpose: Two objects can be considered to be related by aggregation if there is a strict 1:1 relationship between the objects. This means that if the source (parent)object exists, then the target (child or owned) object must exist. This class implements the behavior common to the aggregate object and structure mappings.

TopLink for Java 1.0
See Also:
Serialized Form

Constructor Summary
          Default constructor.
Method Summary
 java.lang.Class getReferenceClass()
          Returns the reference class
 void setReferenceClass(java.lang.Class aClass)
          This is a reference class whose instances this mapping will store in the domain objects.
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


public AggregateMapping()
Default constructor.

Method Detail


public java.lang.Class getReferenceClass()
Returns the reference class


public void setReferenceClass(java.lang.Class aClass)
This is a reference class whose instances this mapping will store in the domain objects.

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