Prev | Next |
Union
A Union Class is a Simple Type element that defines a collection of Simple Types. You can create it by dragging the Union icon from the XML Schema Toolbox and dropping it directly on a diagram.
Toolbox Icon
Access
To display the 'XSD union Properties' dialog for the selected «XSDunion» stereotyped Class, use one of the methods outlined here.
Ribbon |
Design > Element > Properties > Properties |
Context Menu |
Right-click on «XSDunion» stereotyped Class | Properties |
Keyboard Shortcuts |
|
Other |
Double-click on «XSDunion» stereotyped Class, or Drag icon from toolbox onto diagram (this creates a new «XSDunion» stereotyped Class) |
Define Properties
Field/Button |
Action |
See also |
---|---|---|
Name |
If you do not want to use the default name of the Union, overtype it with another name. |
|
Member Types |
Click on the button to display the 'XSD Union Members' dialog, and select built-in XSD datatypes and Simple Type elements to be members of the collection.
|
Simple Type |
Annotation |
(Optional) Type any notes you need for this element. |
|
OK |
Click on this button to save the attribute data entered and close the XSD union 'Properties' dialog. |
|
Cancel |
Click on this button to discard the attribute data entered and close the XSD union 'Properties' dialog. |
|
Help |
Click on this button to display this Help topic. |
|
UML |
This button is displayed when you are editing existing «XSDunion» element information. Click on the button to open the UML element 'Properties' dialog for the «XSDunion» element. |
Properties |
Notes
- Cannot contain any child Classes
- Cannot contain any «XSDelement» or «XSDattribute» stereotyped UML attributes
- Cannot be the source of an Association connector
- Can be the target of an Association connector from a Complex Type element
- Can be the target of a Generalization connector from a Simple Type element
Learn more