Oracle Application Server TopLink API Reference
10g (9.0.4)

B10491-01

oracle.toplink.mappings
Class AggregateMapping

java.lang.Object
  |
  +--oracle.toplink.mappings.DatabaseMapping
        |
        +--oracle.toplink.mappings.AggregateMapping
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
AggregateObjectMapping, SDKAggregateCollectionMapping, SDKAggregateObjectMapping

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/Java 1.0
See Also:
Serialized Form

Constructor Summary
AggregateMapping()
          Default constructor.

 

Method Summary
 java.lang.Class getReferenceClass()
          PUBLIC: Returns the reference class
 void setReferenceClass(java.lang.Class aClass)
          PUBLIC: This is a reference class whose instances this mapping will store in the domain objects.

 

Methods inherited from class oracle.toplink.mappings.DatabaseMapping
getAttributeClassification, getAttributeName, getGetMethodName, getSetMethodName, readOnly, readWrite, setAttributeName, setGetMethodName, setIsReadOnly, 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()
PUBLIC: Returns the reference class

setReferenceClass

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

Copyright © 2003 Oracle Corporation. All Rights Reserved.