
Defining groups
♦Referencing groups are created in a diagram within an element, a complex type or a global group. You must select a global group for their Reference property (See the following table)
Groups in DTD and XDR files
In a model targeted with DTD or XDR language, there are no global or referencing groups, although they appear on the diagram.
Groups are expanded within their parent element and their child elements are declared individually as global elements. (See generated DTD and XDR files in Defining a group of elements)
To display a group property sheet,
The General page of a group property sheet displays the following properties:
| Property | Description |
| Name | Name of the group. It must be a |
|
| Required when the group is global |
| Code | Code of the group. It must be a |
|
| the group is global |
| Comment | Descriptive label for the group |
| Stereotype | |
|
| without changing its structure. It can be predefined or user- |
|
| defined |
| Reference | Name of a group in the current model or another model opened in |
|
| the workspace. It must be a qualified name (See Glossary). A |
|
| reference allows you to reuse a group with all its properties |
|
| without having to define it again. Use the dropdown listbox to |
|
| select a group in the current model. Use the Browse tool to select |
|
| a group from any model opened in the workspace. If you select a |
|
| group from another model, a shortcut is created with the |
|
| referencing group. When a reference is defined, the name and |
|
| code properties are grayed. The name and code are those of the |
|
| target group |
| Group type | Indicator that specifies how child elements are to be used within |
|
| the group. Select a group particle (all, choice or sequence) |
| Minimum | Minimum number of times the group can occur. To specify that |
|
| the group is optional, set this attribute to zero |
| Maximum | Maximum number of times the group can occur. For an unlimited |
|
| number of times, select unbounded |
| ID | ID of the group. Its value must be of type ID and unique within |
|
| the model containing this group |
78 |
| PowerDesigner |
|