Enumeration

The Enum icon from the XML Schema Toolbox creates an enumeration stereotyped Class when dropped on a diagram. This Class, which is a Simple Type, defines a list of acceptable values for this Class.

XSD Properties:

Double-click on the enumeration stereotyped Class under a Schema package in the diagram or the Project Browser

Reference:

Field/Button

Usage

See Also

Name

Specify the name for this Enumeration

 

Type

Specify either an XSD built-in dataType or simpleType

Simple Type

Values

Specify the list of acceptable values for the specified Type

 

Annotation

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

Properties

Notes:

  • Enumeration cannot contain any XSDelement or XSDattribute stereotyped UML Attributes
  • Enumeration cannot contain any child Classes
  • Enumeration cannot be the source of an Association connector
  • Enumeration can be the target of a Generalization connector
  • Enumeration can have at most one Generalization connector to another Simple Type Class