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