enums in uml code example
Example: how to show enum in class diagram
_______________________
| <<enumeration>> |
| DaysOfTheWeek |
|_____________________|
| Sunday |
| Monday |
| Tuesday |
| ... |
|_____________________|
//only association between that and your class