Union

The Union icon from the XML Schema Toolbox creates an XSDunion class when dropped directly on a diagram. This Class, which is a Simple Type, defines a collection of Simple Types.

XSD Properties:

Double-click on the XSDunion stereotyped Class in the diagram or the Project Browser

Reference

Field/Button

Usage

See also

Name

Specify the name for this Union.

 

 

Member Types

Specify the collection of XSD built-in dataTypes and simpleTypes.

 

Simple Type

Annotation

Specify the notes for this Union ( 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 Union.

 

Properties

Notes

Unions cannot contain any child Classes
Unions cannot contain any XSDelement or XSDattribute stereotyped UML Attributes
Unions cannot be the source of an Association connector
Unions can be the target of Association connector from Complex Types
Unions can be the target of a Generalization connector from Simple Types