Chapter 3 Building XML Models
Object mapping is the ability to establish a correspondence between objects belonging to heterogeneous models and diagrams.
The Mapping tab of an element property sheet allows you to map the current element and its attributes to PDM or OOM objects.
Select a data source in the Mapping for list. If it is the first time you define a mapping for an element, the Mapping for list is empty. Click the Add a Mapping for a Data Source tool and select a data source.
The Element Sources tab allows you to associate one or several PDM or OOM objects to the current element.
You can use the Add Objects tool to select objects from the PDMs or OOMs opened in the current workspace.
The Attributes Mapping tab allows you to define the mapping between PDM columns or OOM class attributes and the element attributes.
Tool | Description |
---|---|
![]() |
Add Mapping - Use this tool to select the attributes in the current element that will be mapped to PDM columns or OOM class attributes. Once you have selected the attributes, you can use the list in the Mapped to column to select corresponding PDM columns or OOM class attributes |
![]() |
Create from Sources - Use this tool to copy PDM columns or OOM class attributes in the data source to the current element attributes |
![]() |
Generate Mapping - Use this tool to automatically generate a mapping between PDM columns or OOM class attributes and element attributes with the same name or code in the data source and the current model |
For more information on element mapping, see section Mapping objects in an XML model in chapter Working with an XML model.
Copyright (C) 2007. Sybase Inc. All rights reserved. |
![]() |