Prev | Next |
Model Group
You can create an «XSDsequence», «XSDchoice» or «XSDall» stereotyped Class by dragging the Model Group icon from the XML Schema Toolbox and dropping it directly onto a diagram.
An «XSDsequence» model group (the default model group type) is a container for the attributes and associations owned by the Class. The model group is in turn added to the model groups of the Class's respective owners. Tagged Values specified by owners of the Class persist through to the child elements of the model group; if memberNames are unqualified for a complexType, so are the children of this model group when added to that complexType.
Toolbox Icon
Access
To display the 'XSD Model Group Properties' dialog for the selected «XSDsequence», «XSDchoice» or «XSDall» stereotyped Class, use one of the methods outlined here.
Ribbon |
Design > Element > Properties > Properties |
Context Menu |
Right-click on «XSDsequence», «XSDchoice» or «XSDall» stereotyped Class | Properties |
Keyboard Shortcuts |
|
Other |
|
Define Properties
Field/Button |
Action |
See also |
---|---|---|
Name |
If you do not want to use the default name of the Model Group, 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:
|
Complex Type |
MinOccurs |
(Optional) Type the minimum number of times this element must occur in the Class. Type 0 to indicate that the element is optional. The default value is 1. |
|
MaxOccurs |
(Optional) Type the maximum number of times this element can occur in the Class. Type unbounded to indicate that there is no limit to the number of times the element can occur. The default value is 1. |
|
Annotation |
(Optional) Type any notes you need for this element. |
|
OK |
Click on this button to save the Model Group data entered and close the XSD element 'Properties' dialog. |
|
Cancel |
Click on this button to discard the Model Group data entered and close the XSD element 'Properties' dialog. |
|
Help |
Click on this button to display this Help topic. |
|
UML |
This button is displayed when you are editing existing Model Group element information. Click on the button to open the UML element 'Properties' dialog for the Model Group Class. |
Properties |
Notes
Learn more