Chapter 3 Building an XML model


Element mapping properties

Object mapping is the ability to establish a correspondence between objects belonging to heterogeneous models and diagrams.

The Mapping page 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 dropdown listbox. If it is the first time you define a mapping for an element, the Mapping for dropdown listbox is empty. Click the Add a Mapping for a Data Source tool and select a data source.

Element Sources page

The Element Sources page 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.

Attributes Mapping page

The Attributes Mapping page allows you to define the mapping between PDM columns or OOM class attributes and the element attributes.

Tool Tooltip 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 dropdown listbox 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) 2005. Sybase Inc. All rights reserved.