Chapter 12 Generating Other Models from a PDM
When you generate an XML model from a PDM, PowerDesigner translates PDM objects into specified XML model objects as follows:
| PDM Object | Generated object in an XML model |
|---|---|
| Domain | Simple Type |
| Table | Element |
| Column | Attribute or element (see generation options) |
| View | Element |
| View column | Attribute |
| Key | Key |
| Foreign Key | When a foreign key is not a composition, it is generated as a KeyRef constraint |
| Index | Unique |
| Abstract data type | Complex Type |
XML model naming conventions
If the code of the generated XML model objects does not correspond to the target language naming conventions, you can define a code naming convention script to convert object names into codes.
For more information on conversion scripts, see section .convert_name & .convert_code macros in chapter Managing Models of the General Features Guide.
| Copyright (C) 2007. Sybase Inc. All rights reserved. |
| |