Chapter 12 Generating Other Models from an OOM
When you generate an XML model from an OOM, PowerDesigner translates OOM objects into specified XML model objects as follows:
OOM Object | Generated object in an XML model |
---|---|
Class | Element |
Abstract class | Complex type |
Attribute | Attribute or element (see generation options) |
Identifier | Key |
Domain | Simple Type |
Composition | New level in the element hierarchy |
Generalization | Complex type derivation (XSD) or attribute migration to child element (DTD) |
Association | KeyRef constraints |
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) 2005. Sybase Inc. All rights reserved. |