public static enum UmlDiagram.Kind extends java.lang.Enum<UmlDiagram.Kind> implements UmlKind
Enum Constant and Description |
---|
ACTIVITY |
ANALYSIS |
COMPONENT |
CUSTOM |
DEPLOYMENT |
LOGICAL |
OBJECT |
OTHER |
PACKAGE |
SEQUENCE |
STATECHART |
USE_CASE |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_desc |
private java.lang.String |
_label |
private java.lang.String |
_tag |
private java.lang.String |
_value |
Modifier and Type | Method and Description |
---|---|
static UmlDiagram.Kind |
findForValue(java.lang.String value)
Returns literal with
value if found, OTHER instance otherwise. |
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.
|
static UmlDiagram.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UmlDiagram.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UmlDiagram.Kind ACTIVITY
public static final UmlDiagram.Kind ANALYSIS
public static final UmlDiagram.Kind COMPONENT
public static final UmlDiagram.Kind CUSTOM
public static final UmlDiagram.Kind DEPLOYMENT
public static final UmlDiagram.Kind LOGICAL
public static final UmlDiagram.Kind SEQUENCE
public static final UmlDiagram.Kind STATECHART
public static final UmlDiagram.Kind USE_CASE
public static final UmlDiagram.Kind PACKAGE
public static final UmlDiagram.Kind OBJECT
public static final UmlDiagram.Kind OTHER
private final java.lang.String _value
private final java.lang.String _label
private final java.lang.String _tag
private final java.lang.String _desc
public static UmlDiagram.Kind[] values()
for (UmlDiagram.Kind c : UmlDiagram.Kind.values()) System.out.println(c);
public static UmlDiagram.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UmlDiagram.Kind findForValue(java.lang.String value)
value
if found, OTHER
instance otherwise.public java.lang.String getValue()
UmlKind
public java.lang.String getLabel()
UmlKind
public java.lang.String getTag()
UmlKind
Copyright 2009-2015 Tatjana (Tanja) Kostic