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,597
  • 3
  • 18
  • 30

2 Answers2

19

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

CesarGon
  • 14,525
  • 6
  • 53
  • 81
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
  • 569
  • 2
  • 7
  • 20