Skip navigation links

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

B32476-02


oracle.toplink.mappings
Class AggregateMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.AggregateMapping

All Implemented Interfaces:
java.io.Serializable, 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.

Since:
TopLink for Java 1.0
See Also:
Serialized Form

Constructor Summary
AggregateMapping()
          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

AggregateMapping

public AggregateMapping()
Default constructor.

Method Detail

getReferenceClass

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

setReferenceClass

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

Skip navigation links

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