public interface UmlKind
UmlObject
.
In some instances, we have to store predefined names (like EA stereotypes), so we define custom constructors that take that value for an additional field. In other instances, we cannot define an enumeration literal with the name of java reserved words (like interface, package or class), but would like to print things a bit differently. For some UML objects, we also need to print machine-processable tokens as XML tags. The methods below allow for customised strings per enumeration literal for different purposes.
Use the toString() method to obtain the name of enumeration literal itself.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDesc()
Returns the description, typically used for statistics printing.
|
java.lang.String |
getLabel()
Returns the label to be used for human-readable documentation.
|
java.lang.String |
getTag()
Returns the tag to be used for machine-processable documentation, typically used for
statistics printing.
|
java.lang.String |
getValue()
Returns the value set by the custom constructor.
|
java.lang.String getValue()
java.lang.String getLabel()
java.lang.String getTag()
java.lang.String getDesc()
Copyright 2009-2015 Tatjana (Tanja) Kostic