Group Properties

You can modify an object's properties from its property sheet. To open a group (or reference to a group) property sheet, double-click its diagram symbol or its Browser entry in the Groups folder (or, in the case of a reference to a group, beneath its parent object).

The General tab contains the following properties:

Property

Description

Name

[unavailable to references to groups] Name of the group. It must be a no-colon-name (See Glossary). Required when the group is global

Code

[unavailable to references to groups] Code of the group. It must be a no-colon-name. Required when the group is global

Comment

Descriptive label for the group

Stereotype

Sub-classification used to extend the semantics of an object without changing its structure. It can be predefined or user-defined

Reference

[for references to groups only] 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 list 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

[unavailable to references to groups] Specifies how child elements are to be used within the group. You can choose between:


  • all

  • choice

  • sequence

For more information, see Group Particles (XSM).

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.

Once you have defined the reference of a referencing group, you can locate the referenced group in the diagram by right-clicking the referencing group symbol and selecting Find Referenced Group in the contextual menu. The referenced group is displayed with handles in the diagram.

You can access directly to the Preview tab of a group property sheet. Right-click a group (or a referencing group) symbol in the diagram and select Preview in the contextual menu.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com