|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EdgeType>
de.cau.cs.kieler.keg.EdgeType
public enum EdgeType
A representation of the literals of the enumeration 'Edge Type', and utility methods for working with them.
KEGPackage.getEdgeType()
Enum Constant Summary | |
---|---|
NODE2_NODE
The 'Node2 Node' literal object. |
|
NODE2_PORT
The 'Node2 Port' literal object. |
|
PORT2_NODE
The 'Port2 Node' literal object. |
|
PORT2_PORT
The 'Port2 Port' literal object. |
Field Summary | |
---|---|
static int |
NODE2_NODE_VALUE
The 'Node2 Node' literal value. |
static int |
NODE2_PORT_VALUE
The 'Node2 Port' literal value. |
static int |
PORT2_NODE_VALUE
The 'Port2 Node' literal value. |
static int |
PORT2_PORT_VALUE
The 'Port2 Port' literal value. |
static List<EdgeType> |
VALUES
A public read-only list of all the 'Edge Type' enumerators. |
Method Summary | |
---|---|
static EdgeType |
get(int value)
Returns the 'Edge Type' literal with the specified integer value. |
static EdgeType |
get(String literal)
Returns the 'Edge Type' literal with the specified literal value. |
static EdgeType |
getByName(String name)
Returns the 'Edge 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 EdgeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EdgeType[] |
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 EdgeType NODE2_NODE
NODE2_NODE_VALUE
public static final EdgeType NODE2_PORT
NODE2_PORT_VALUE
public static final EdgeType PORT2_NODE
PORT2_NODE_VALUE
public static final EdgeType PORT2_PORT
PORT2_PORT_VALUE
Field Detail |
---|
public static final int NODE2_NODE_VALUE
If the meaning of 'Node2 Node' literal object isn't clear, there really should be more of a description here...
NODE2_NODE
,
Constant Field Valuesname | = | Node2Node |
public static final int NODE2_PORT_VALUE
If the meaning of 'Node2 Port' literal object isn't clear, there really should be more of a description here...
NODE2_PORT
,
Constant Field Valuesname | = | Node2Port |
public static final int PORT2_NODE_VALUE
If the meaning of 'Port2 Node' literal object isn't clear, there really should be more of a description here...
PORT2_NODE
,
Constant Field Valuesname | = | Port2Node |
public static final int PORT2_PORT_VALUE
If the meaning of 'Port2 Port' literal object isn't clear, there really should be more of a description here...
PORT2_PORT
,
Constant Field Valuesname | = | Port2Port |
public static final List<EdgeType> VALUES
Method Detail |
---|
public static EdgeType[] values()
for (EdgeType c : EdgeType.values()) System.out.println(c);
public static EdgeType 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 EdgeType get(String literal)
public static EdgeType getByName(String name)
public static EdgeType 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<EdgeType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |