Chapter 12 Creating Mappings


XML Model mappings

In an XML Model (XSM), you can create the following types of mappings to express generation dependencies or data transformation movement between model objects:

The following table shows all the allowed mappings with XML Model (XSM) objects:

Target XSM object Source PDM object Source OOM object Source XSM object
Element Table, view, table column, view column Class, class attribute Element, complex type, element attribute
Element attribute Column, view column Class attribute Element attribute, element
Complex type Abstract data type Class Complex type, element
Complex type attribute Abstract data type attribute Class attribute Complex type attribute, element attribute

Mapping elements

XML elements can also be mapped to the sub-objects of source objects, as an XML element can correspond to a simple type containing only an elementary value (for example <Name>Bill</Name>).

 


Copyright (C) 2008. Sybase Inc. All rights reserved.