Oracle TopLink Developer's Guide
10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
An EIS composite direct collection mapping maps a collection of Java attributes directly to an EIS record according to its descriptor's record type, as shown in Table 56-3.
Table 56-3 EIS Composite Direct 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 Direct Collection Mapping".
Figure 56-5 illustrates a composite direct collection mapping between Order
class attribute items
and an XML record. The Order
attribute items
is a collection type (such as Vector
). It is mapped to an XML record composed of an order
element that contains a sequence of item
elements.
Figure 56-5 EIS Composite Direct Collection Mapping
See Chapter 59, "Configuring an EIS Composite Direct Collection Mapping" for more information.