|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Routing>
org.eclipse.gmf.codegen.gmfgen.Routing
public enum Routing
A representation of the literals of the enumeration 'Routing', and utility methods for working with them.
GMFGenPackage.getRouting()
Enum Constant Summary | |
---|---|
MANUAL_LITERAL
The 'MANUAL' literal object. |
|
RECTILINEAR_LITERAL
The 'RECTILINEAR' literal object. |
|
TREE_LITERAL
The 'TREE' literal object. |
Field Summary | |
---|---|
static int |
MANUAL
The 'MANUAL' literal value. |
static int |
RECTILINEAR
The 'RECTILINEAR' literal value. |
static int |
TREE
The 'TREE' literal value. |
static List<Routing> |
VALUES
A public read-only list of all the 'Routing' enumerators. |
Method Summary | |
---|---|
static Routing |
get(int value)
Returns the 'Routing' literal with the specified integer value. |
static Routing |
get(String literal)
Returns the 'Routing' literal with the specified literal value. |
static Routing |
getByName(String name)
Returns the 'Routing' 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 Routing |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Routing[] |
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 Routing MANUAL_LITERAL
MANUAL
public static final Routing RECTILINEAR_LITERAL
RECTILINEAR
public static final Routing TREE_LITERAL
TREE
Field Detail |
---|
public static final int MANUAL
If the meaning of 'Manual' literal object isn't clear, there really should be more of a description here...
MANUAL_LITERAL
,
Constant Field Valuespublic static final int RECTILINEAR
If the meaning of 'Rectilinear' literal object isn't clear, there really should be more of a description here...
RECTILINEAR_LITERAL
,
Constant Field Valuespublic static final int TREE
If the meaning of 'Tree' literal object isn't clear, there really should be more of a description here...
TREE_LITERAL
,
Constant Field Valuespublic static final List<Routing> VALUES
Method Detail |
---|
public static Routing[] values()
for (Routing c : Routing.values()) System.out.println(c);
public static Routing 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 Routing get(String literal)
public static Routing getByName(String name)
public static Routing get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<Routing>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |