Topics
Prev Next

Attribute Group

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

Toolbox Icon

Access

To display the 'XSD Attribute Group Properties' dialog for the selected «XSDattributeGroup» stereotyped Class, use one of the methods outlined here.

Ribbon

Design > Element > Manage > Properties

Context Menu

Right-click on «XSDattributeGroup» stereotyped Class | Properties

Keyboard Shortcuts

Alt+Enter

Other

Double-click on «XSDattributeGroup» stereotyped Class, or

Drag icon from toolbox onto diagram (this creates a new «XSDattributeGroup» stereotyped Class)

Define Properties

Field/Button

Action

See also

Name

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

Annotation

(Optional) Type in any notes you need for this Attribute Group.

OK

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

Cancel

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

Help

Click on this button to display this Help topic.

UML

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

Click on the button to open the UML element 'Properties' dialog for the attribute group.

Properties Dialog

Notes

  • An Attribute Group element:
  • Cannot be the child of any other XSD Class
  • Can contain only «XSDattribute» stereotyped UML attributes and Simple Type Classes
  • Can be the source of an Association connector to another Attribute Group
  • Can be the target of an Association connector from a C omplex Type Class
  • Cannot be the source or target of a Generalization connector

Learn more