You can modify an object's properties from its property sheet. To open a complex type property sheet, double-click its diagram symbol or its Browser entry in the Complex Types folder. The following sections detail the property sheet tabs that contain the properties most commonly entered for complex types.
The General tab contains the following properties:
Property |
Description |
---|---|
Name |
Name of the complex type, which must be a no-colon-name and unique among all simple types and complex types. |
Code |
Code of the complex type, which must be a no-colon-name and unique among all simple types and complex types. |
Comment |
Descriptive label of the complex type. |
Stereotype |
Sub-classification used to extend the semantics of an object without changing its structure. It can be predefined or user-defined. |
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 |
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 Chapter 12, Object Mappings in the Core Features Guide .