To view or edit a complex type's properties, double-click its diagram symbol or Browser or list entry. The property sheet tabs and fields listed here are those available by default, before any customization of the interface by you or an administrator.
The General tab contains the following properties:
Property |
Description |
---|---|
Name/Code/Comment |
Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. Neither the name nor code should contain colons. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field. Names and codes must be unique among all simple and complex types. |
Stereotype |
Extends the semantics of the object. You can enter a stereotype directly in this field, or add stereotypes to the list by specifying them in an extension file. |
Group type |
Specifies that the complex type has child elements, and how they are used (see Group Particles (XSM)). You can choose between:
|
Content |
Content type of the complex type (see Specifying the Type of Content of a Complex Type). |
Derivation |
Derivation method for the complex type. Once you have selected a derivation method, you must define a base type. Click the Properties tool beside the derivation box to display the derivation property sheet. In the General tab, select a base type in the Base Type list. |
The Detail tab contains the following properties:
Property |
Description |
---|---|
Final |
Property to prevent derivation of the current complex type |
Block |
Property to prevent another complex type with the specified type of derivation from being used in place of the current complex type |
Mixed |
If selected, this property indicates that character data is allowed to appear between the child elements of the current complex type. Select Mixed only if the current complex type has a complex content (See general properties) |
Abstract |
If selected, this property indicates that the complex type can be used in the instance document |
ID |
ID of the complex type. Its value must be of type ID and unique within the model containing this complex type |
Keywords |
Provide a way of loosely grouping objects through tagging. To enter multiple keywords, separate them with commas. |
This tab lets you map the complex type to PDM or OOM objects.
You associate one or more PDM abstract data types or OOM classes to the complex type using the Add Objects tool on the Complex Type Sources sub-tab. You can associate PDM abstract data type attributes or OOM class attributes to the complex type attributes using following tools on the Attributes Mapping tab:
For detailed information about mappings, see Core Features Guide > Linking and Synchronizing Models > Object Mappings.