User manual

Mapping objects in an XML model
172 PowerDesigner
For more information on how to select a data source, see section
Mapping elements.
The Element Sources page allows you to associate one or several classes in
the data source to the current element.
You can use the Add Objects tool to select classes from the OOMs opened in
the current workspace.
The Attributes Mapping page allows you to define the mapping between class
attributes in the source classes and attributes in the current element.
For more information on the Attributes Mapping page, see section
Mapping elements.
Mapping complex types
You can map complex types to OOM objects.
Once the classes are identified and mapped with the complex types, you can
define mappings between class attributes and complex type attributes.
You have to use the Mapping page of a complex type property sheet to define
complex type mappings.
For more information on how to select a data source, see section
Mapping elements.
The Complex Type Sources page allows you to associate one or several
classes in the data source to the current complex type.
You can use the Add Objects tool to select classes from the OOMs opened in
the current workspace.
The Attributes Mapping page allows you to define the mapping between
attributes in the source classes and attributes in the current complex type.
For more information on the Attributes Mapping page, see section
Mapping elements.
Creating a mapping for an XML object
Here we choose to map an element to PDM tables, but the same procedure
applies for other XML objects.
To create a mapping for an element:
1 Double-click an element to display its property sheet.
Element Sources
page
Attributes Mapping
page
Complex Type
Sources page
Attributes Mapping
page