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?
Asked
Active
Viewed 7,138 times
2 Answers
19
Create a datatype, go to Properties, and apply the stereotype enumeration
to it.
![](../../users/profiles/210818.webp)
CesarGon
- 14,525
- 6
- 53
- 81
1
- choose UML Static Structures> DataType.
- Properties> 'Stereotype' to 'Enumeration'
- Add Enum values (LHS panel has 'Enumeration' listed for this. This is enabled by Step-2
![](../../users/profiles/779157.webp)
WinW
- 569
- 2
- 7
- 20