Oracle TopLink Developer's Guide
10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
TopLink supports the XML mappings listed in Table 65-1.
Table 65-1 TopLink XML Mapping Types
Mapping Type | Description | Type | TopLink Workbench | Java |
---|---|---|---|---|
|
Map a simple object attribute to an XML attribute or text node. |
Basic |
![]() |
![]() |
"XML Composite Direct Collection Mapping" |
Map a collection of simple object attributes to XML attributes or text nodes. |
Basic |
![]() |
![]() |
"XML Composite Object Mapping" |
Map any attribute that contains a single object to an XML element. The TopLink runtime uses the descriptor for the referenced object to populate the contents of that element. |
Basic |
![]() |
![]() |
"XML Composite Collection Mapping" |
Map an attribute that contains a homogenous collection of objects to multiple XML elements. The TopLink runtime uses the descriptor for the referenced object to populate the contents of those elements. |
Basic |
![]() |
![]() |
|
The any object XML mapping is similar to the composite object XML mapping (see "XML Composite Object Mapping"), except that the reference object may be of different types (including |
Advanced |
![]() |
![]() |
|
The any collection XML mapping is similar to the composite collection XML mapping (see "XML Composite Collection Mapping") except that the referenced objects may be of different types (including |
Advanced |
![]() |
![]() |
|
Create custom mappings where one or more XML nodes can be used to create the object to be stored in a Java class's attribute. |
Advanced |
![]() |
![]() |