You can generate physical data models (PDMs) and other XSMs from an XSM.
The following table details how XSM objects are generated to PDM objects:
XSM | PDM |
---|---|
Elements |
Tables or columns:
Note:
Root elements with a primitive or simple type
are not generated except where they are referenced by other
elements or complex types.
If you have a single root element and want to generate its immediate children as tables, select the Skip single root element option on the PDM Generation Options window Detail tab. |
Simple types |
Domains. The datatype of the domain depends on the derivation of the simple type:
|
Complex types |
Merged with their parent element. If the complex type is the restriction or extension of a simple type it will be generated as a column called Value linked to the domain generated from the simple type. |
Attributes |
Columns with datatypes determined by resolving any derivation. Attributes and attribute groups defined at the model level are not generated except where they are referenced. |
Business rules |
Business rules |
Key constraints |
Keys |
Unique constraints |
Indexes |
Keyref constraints |
References (if the referenced constraint is a key) |
IDs (DTD) |
Keys |