|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AttributeType>
de.cau.cs.kieler.kiml.graphviz.dot.AttributeType
public enum AttributeType
A representation of the literals of the enumeration 'Attribute Type', and utility methods for working with them.
DotPackage.getAttributeType()
Enum Constant Summary | |
---|---|
EDGE
The 'Edge' literal object. |
|
GRAPH
The 'Graph' literal object. |
|
NODE
The 'Node' literal object. |
Field Summary | |
---|---|
static int |
EDGE_VALUE
The 'Edge' literal value. |
static int |
GRAPH_VALUE
The 'Graph' literal value. |
static int |
NODE_VALUE
The 'Node' literal value. |
static List<AttributeType> |
VALUES
A public read-only list of all the 'Attribute Type' enumerators. |
Method Summary | |
---|---|
static AttributeType |
get(int value)
Returns the 'Attribute Type' literal with the specified integer value. |
static AttributeType |
get(String literal)
Returns the 'Attribute Type' literal with the specified literal value. |
static AttributeType |
getByName(String name)
Returns the 'Attribute Type' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AttributeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AttributeType GRAPH
GRAPH_VALUE
public static final AttributeType NODE
NODE_VALUE
public static final AttributeType EDGE
EDGE_VALUE
Field Detail |
---|
public static final int GRAPH_VALUE
If the meaning of 'Graph' literal object isn't clear, there really should be more of a description here...
GRAPH
,
Constant Field Valuesname | = | graph |
public static final int NODE_VALUE
If the meaning of 'Node' literal object isn't clear, there really should be more of a description here...
NODE
,
Constant Field Valuesname | = | node |
public static final int EDGE_VALUE
If the meaning of 'Edge' literal object isn't clear, there really should be more of a description here...
EDGE
,
Constant Field Valuesname | = | edge |
public static final List<AttributeType> VALUES
Method Detail |
---|
public static AttributeType[] values()
for (AttributeType c : AttributeType.values()) System.out.println(c);
public static AttributeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AttributeType get(String literal)
public static AttributeType getByName(String name)
public static AttributeType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<AttributeType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |