public static enum UmlConstraint.Kind extends java.lang.Enum<UmlConstraint.Kind> implements UmlKind
Enum Constant and Description |
---|
ATTR_MIN_MAX
We currently use attribute constraints in IEC61850-7-3 for attributes that are arrays, to
store their min and max index, to be able to print "ARRAY min...max OF XYZ".
|
CLASS
We currently use class constraints in IEC61850-7-4 and IEC61850-7-3 UML for presence
conditions of attributes that are not simply M or O.
|
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.
|
static UmlConstraint.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UmlConstraint.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UmlConstraint.Kind CLASS
[: optional free text]
public static final UmlConstraint.Kind ATTR_MIN_MAX
public static UmlConstraint.Kind[] values()
for (UmlConstraint.Kind c : UmlConstraint.Kind.values()) System.out.println(c);
public static UmlConstraint.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 java.lang.String getValue()
UmlKind
public java.lang.String getLabel()
UmlKind
public java.lang.String getTag()
UmlKind
Copyright 2009-2016 Tatjana (Tanja) Kostic