Mapping objects in an XML model

 

 For more information on how to select a data source, see section

 

Mapping elements.

Element Sources

The Element Sources page allows you to associate one or several classes in

page

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.

Attributes Mapping

The Attributes Mapping page allows you to define the mapping between class

page

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.

Complex Type

The Complex Type Sources page allows you to associate one or several

Sources page

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.

Attributes Mapping

The Attributes Mapping page allows you to define the mapping between

page

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.

172

PowerDesigner

Page 184
Image 184
Sybase manual Creating a mapping for an XML object, ™ To create a mapping for an element, 172