public enum NavigationRole extends Enum<NavigationRole>
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 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(String literal)
Returns the 'Navigation Role' literal with the specified literal value.
|
static NavigationRole |
getByName(String name)
Returns the 'Navigation Role' 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 NavigationRole |
valueOf(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 List<NavigationRole> VALUES
public static NavigationRole[] values()
for (NavigationRole c : NavigationRole.values()) System.out.println(c);
public static NavigationRole valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NavigationRole get(String literal)
literal
- the literal.null
.public static NavigationRole getByName(String name)
name
- the name.null
.public static NavigationRole get(int value)
value
- the integer value.null
.public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<NavigationRole>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.