Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Enumeration
The Enum icon from the XML Schema Toolbox creates an Enumeration element when dropped on a diagram. This Enumeration defines a list of acceptable values for the Class.
XSD Properties:
Double-click on the Enumeration 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.
|
|
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.
|
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 |