changes.mady.by.user Kristina B.
Saved on May 21, 2023
Saved on Jan 30, 2024
Java Enumeration Literal is mapped directly to the UML Property with the stereotype «JavaEnumerationLiteral». It does not require specific modifiers.
UML Parameter with stereotype «JavaEnumerationLiteral», owned by UML Class with stereotype «JavaEnumeration»
When using JavaDoc preprocessing, it is mapped to the UML Parameter Documentation; otherwise, it is part of the UML Operation Documentation.
Java source code
enum MyEnumeration { ONE, TWO, THREE; int attribute1; String attribute2; }
UML model
Related Pages: