Skip Headers

# Composite EIS Mappings

Previous

Next

In a composite EIS mapping ("EIS Composite Direct Collection Mapping", "EIS Composite Object Mapping", and "EIS Composite Collection Mapping"), the source object contains (owns) the target object.

TopLink puts the attributes of the target (owned) object (or the owned collection of objects) into the source (owning) object's record as a subrecord. The target object needs not be a root object type (see "Configuring an EIS Descriptor as a Root or Composite Type"): it needs not have interactions defined for it.

Figure: EIS Composite Mappings illustrates a read interaction on an instance of the `Customer` class using indexed records. For the composite object EIS mapping defined for the `address` attribute, TopLink creates an `Address` subrecord in the `Customer` record.

EIS Composite Mappings

Description of "EIS Composite Mappings"