Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

EIS Composite Collection Mapping

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 56-5. Composite collection mappings can reference any class that has a TopLink descriptor.

Table 56-5 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 56-7 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.

Figure 56-7 EIS Composite Collection Mappings

Description of Figure 56-7  follows
Description of "Figure 56-7 EIS Composite Collection Mappings"

See Chapter 61, "Configuring an EIS Composite Collection Mapping" for more information.