Modifying The Mapping Of An Attribute - Sybase PowerDesigner XML User Manual

Table of Contents

Advertisement

Modifying the mapping of an attribute

XSM User's Guide
You can modify the default mapping created for an attribute. The Attribute
Mappings property sheet can be used to fine tune the mapping between an
attribute in the current element and columns or attributes in data source tables
or classes.
In the Mapped To box, you can see the column or attribute expression. By
default, columns or attributes used in this expression are prefixed by their
tables or classes. You can customize the content of the Mapped To box by
inserting comments manually. You can also click the Ellipsis button and use
the SQL Editor to modify the default mapping syntax. To recover the default
column expression click the User-defined tool.
In the Sources page it is possible to select several columns or attributes and
map them to the current attribute. To do so, you have to use the Add Sources
tool to select columns or attributes from the list of columns or attributes
belonging to the tables or classes mapped to the current element. When you
add columns or attributes from the Sources page, and when the column or
attribute expression has not been modified by the user, the content of the
Mapped To box in the General page is updated.
To modify the mapping of an attribute:
1
In the Mapping page, select the Attributes Mapping tab to display the
corresponding page.
2
Select an attribute in the list and click the Properties tool.
The Attribute Mappings Properties appears.
3
Click the Sources tab to display the corresponding page.
4
Click the Add Sources tool to display a Selection dialog box.
5
Select source columns or attributes and click OK.
The columns or attributes appear in the Sources list.
6
Click the General tab to display the corresponding page. The selected
columns or attributes appear in the Mapped To box.
7
Click OK.
Chapter 3
Working with an XML model
175

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerdesigner 11.1

Table of Contents