Chapter 4 Working with an XML model


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 tab 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 Sources sub-tab

The Complex Type Sources sub-tab allows you to associate one or several 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.

For more information about the Add Objects tool, see the "Mapping Editor" chapter in the General Features Guide.

Attributes Mapping sub-tab

The Attributes Mapping sub-tab allows you to define the mapping between attributes in the source classes and attributes in the current complex type.

For more information about the different tools in the toolbar, see the "Mapping Editor" chapter in the General Features Guide.

For more information about the Attributes Mapping tab, see section "Mapping elements".

 


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