|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NavigationRole>
org.eclipse.ocl.examples.xtext.essentialocl.essentialoclcs.NavigationRole
public enum NavigationRole
A representation of the literals of the enumeration 'Navigation Role', and utility methods for working with them.
EssentialOCLCSPackage.getNavigationRole()
Enum Constant Summary | |
---|---|
ACCUMULATOR
The 'ACCUMULATOR' literal object. |
|
EXPRESSION
The 'EXPRESSION' literal object. |
|
ITERATOR
The 'ITERATOR' literal object. |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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 NavigationRole ITERATOR
ITERATOR_VALUE
public static final NavigationRole ACCUMULATOR
ACCUMULATOR_VALUE
public static final NavigationRole EXPRESSION
EXPRESSION_VALUE
Field Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic static NavigationRole get(java.lang.String literal)
public static NavigationRole getByName(java.lang.String name)
public static NavigationRole get(int value)
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |