I am creating a UML class diagram for a Java Enum with multiple values. Example:
public enum ExtractType {
Type1 ("Value1", "Value2"),
Type2 ("Value1", "Value2"),
...
}
Does the UML specification say anything about including values while drawing an Enum class diagram? Or is it as simple as below?
+---------------------+
| <<enumeration>> |
| ExtractType |
+---------------------+
| Type1 |
| Type2 |
| ..... |
+---------------------+