Skip Headers

# EIS Composite Collection Mapping

Previous

Next

An EIS composite collection mapping maps a collection of Java objects to a privately owned one-to-many relationship in an EIS record according to its descriptor's record type as shown in Table: EIS Composite Collection Mapping by EIS Record Type. Composite collection mappings can reference any class that has a TopLink descriptor.

EIS Composite Collection Mapping by EIS Record Type

EIS Record Type | Mapping Behavior
--- | ---
Indexed | Maps directly to a subrecord in the indexed recordFoot 1 .
Mapped | Maps directly to a subrecord in the mapped recordFootref 1.
XML | Maps directly to an attribute or text node in the XML recordFoot 2 .

Footnote 1 See also "Composite EIS Mappings".

Footnote 2 See also "XML Composite Collection Mapping".

Figure: EIS Composite Collection Mappings illustrates a composite collection EIS mapping between `Phone` class attribute `phoneNumbers` and an XML record. `Employee` attribute `phoneNumbers` is mapped to an XML record composed of an `EMPLOYEE` element that contains a sequence of `PHONE_NUMBER` elements.

EIS Composite Collection Mappings

Description of "EIS Composite Collection Mappings"

See Configuring an EIS Composite Collection Mapping for more information.