public enum NavigationRole extends java.lang.Enum<NavigationRole> implements org.eclipse.emf.common.util.Enumerator
EssentialOCLCSPackage.getNavigationRole()
Enum Constant and Description |
---|
ACCUMULATOR
The 'ACCUMULATOR' literal object.
|
EXPRESSION
The 'EXPRESSION' literal object.
|
ITERATOR
The 'ITERATOR' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACCUMULATOR_VALUE
The 'ACCUMULATOR' literal value.
|
static int |
EXPRESSION_VALUE
The 'EXPRESSION' literal value.
|
static int |
ITERATOR_VALUE
The 'ITERATOR' literal value.
|
static java.util.List<NavigationRole> |
VALUES
A public read-only list of all the 'Navigation Role' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static NavigationRole |
get(int value)
Returns the 'Navigation Role' literal with the specified integer value.
|
static NavigationRole |
get(java.lang.String literal)
Returns the 'Navigation Role' literal with the specified literal value.
|
static NavigationRole |
getByName(java.lang.String name)
Returns the 'Navigation Role' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static NavigationRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NavigationRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NavigationRole ITERATOR
ITERATOR_VALUE
public static final NavigationRole ACCUMULATOR
ACCUMULATOR_VALUE
public static final NavigationRole EXPRESSION
EXPRESSION_VALUE
public static final int ITERATOR_VALUE
If the meaning of 'ITERATOR' literal object isn't clear, there really should be more of a description here...
ITERATOR
,
Constant Field Valuespublic static final int ACCUMULATOR_VALUE
If the meaning of 'ACCUMULATOR' literal object isn't clear, there really should be more of a description here...
ACCUMULATOR
,
Constant Field Valuespublic static final int EXPRESSION_VALUE
If the meaning of 'EXPRESSION' literal object isn't clear, there really should be more of a description here...
EXPRESSION
,
Constant Field Valuespublic static final java.util.List<NavigationRole> VALUES
public static NavigationRole[] values()
for (NavigationRole c : NavigationRole.values()) System.out.println(c);
public static NavigationRole 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 NavigationRole get(java.lang.String literal)
literal
- the literal.null
.public static NavigationRole getByName(java.lang.String name)
name
- the name.null
.public static NavigationRole get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<NavigationRole>