Group

The Group Class is used to group a set of «XSDelement» stereotyped UML attributes, Complex Type Classes and Simple Type Classes that can be referenced from an «XSDcomplexType» Class. You can create this type of element by dragging the Group icon from the XML Schema Toolbox and dropping it directly onto a diagram.

Toolbox Icon

group_icon

Access     Drag icon onto diagram, or
Project Browser | Double-click on «XSDgroup» stereotyped element, or
Diagram | right-click on «XSDgroup» stereotyped element | Properties

Define Properties

Field/Button

Action

See also

Name

If you do not want to use the default name of the Group element, overtype it with another name.

 

 

Model Group

Click on the drop-down arrow and select the value that defines how the child elements of this group should occur in the Complex Type Class:

sequence - to specify that the child elements must occur in the specified order
choice - to specify that only one of the child elements can occur
all - to specify that the child elements can occur in any order

 

Complex Type

Annotation

(Optional) Type any notes you need for this element.

 

 

OK

Click on this button to save the Group data entered and close the XSD group Properties dialog.

 

 

Cancel

Click on this button to discard the Group data entered and close the XSD group Properties dialog.

 

 

Help

Click on this button to display this Help topic.

 

 

UML

This button is displayed when you are editing existing XSD Group information.

Click on the button to open the UML element Properties dialog for the Group Class.

 

Properties

Notes

A Group element can:
Contain only «XSDelement» stereotyped UML attributes
Contain Complex Types and Simple Types as child elements
Be the source of Association connectors to other Complex Types, Simple Types and Groups
Be the target of an Association connector from a Complex Type element
Not be the source or target of a Generalization connector

Learn more