Model Group

The Model Group icon from the XML Schema Toolbox creates an XSDsequence, XSDchoice or XSDall stereotyped Class when dropped on a diagram.

XSD Properties:

Double-click on the  Model Group in the diagram or the Project Browser

Reference

Field/Button

Usage

See also

Name

Specify the name for this Model Group.

 

 

Model Group

Specify how the child elements should occur.

 

Option

Usage

sequence

This option creates an XSDsequence stereotyped Class.

It specifies that the child elements must occur in the specified order.

 

choice

This option creates an XSDchoice stereotyped Class.

It specifies that only one of the child elements must occur.

 

all

This option creates an XSDall stereotyped Class.

It specifies that the child elements can occur in any order.

 

 

 

MinOccurs

Specify the minimum number of times this Model Group occurs in the Class ( Optional ).

 

 

MaxOccurs

Specify the maximum number of times this Model Group occurs in the Class ( Optional ).

 

 

Annotation

Specify the notes for this Model Group ( Optional ).

 

 

OK

Save the values entered and close the dialog.

 

 

Cancel

Discard the values entered and close the dialog.

 

 

Help

Display this Help topic.

 

 

UML

Open the UML Properties dialog.

This button is available when editing the  Model Group.

 

Properties

Notes

Model Groups can contain only XSDelement stereotyped UML Attributes
Model Groups can contain other Complex Types and Simple Types as child elements
Model Groups can have Association connector to other Complex Type, Simple Type, Group and Model Group
Model Groups must have at least one incoming Association connector from a Complex Type
Model Groups cannot be the source or target of Generalization connectors