7

I am designing a Class Diagram (static structure) and would like to include some Enum classes. However I cannot seem to find a suitable way to represent this. Any ideas?

Barjavel
  • 1,626
  • 3
  • 19
  • 31

2 Answers2

19

Create a datatype, go to Properties, and apply the stereotype enumeration to it.

CesarGon
  • 15,099
  • 6
  • 57
  • 85
1
  1. choose UML Static Structures> DataType.
  2. Properties> 'Stereotype' to 'Enumeration'
  3. Add Enum values (LHS panel has 'Enumeration' listed for this. This is enabled by Step-2

Refer Image: enter image description here

WinW
  • 679
  • 2
  • 9
  • 20