|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Scope>
de.cau.cs.kieler.krep.editors.klp.klp.Scope
public enum Scope
A representation of the literals of the enumeration 'Scope', and utility methods for working with them.
KlpPackage.getScope()
Enum Constant Summary | |
---|---|
INPUT
The 'Input' literal object. |
|
LOCAL
The 'Local' literal object. |
|
OUTPUT
The 'Output' literal object. |
Field Summary | |
---|---|
static int |
INPUT_VALUE
The 'Input' literal value. |
static int |
LOCAL_VALUE
The 'Local' literal value. |
static int |
OUTPUT_VALUE
The 'Output' literal value. |
static List<Scope> |
VALUES
A public read-only list of all the 'Scope' enumerators. |
Method Summary | |
---|---|
static Scope |
get(int value)
Returns the 'Scope' literal with the specified integer value. |
static Scope |
get(String literal)
Returns the 'Scope' literal with the specified literal value. |
static Scope |
getByName(String name)
Returns the 'Scope' 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 Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Scope[] |
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 Scope INPUT
INPUT_VALUE
public static final Scope OUTPUT
OUTPUT_VALUE
public static final Scope LOCAL
LOCAL_VALUE
Field Detail |
---|
public static final int INPUT_VALUE
If the meaning of 'Input' literal object isn't clear, there really should be more of a description here...
INPUT
,
Constant Field Valuesname | = | input |
literal | = | INPUT |
public static final int OUTPUT_VALUE
If the meaning of 'Output' literal object isn't clear, there really should be more of a description here...
OUTPUT
,
Constant Field Valuesname | = | output |
literal | = | OUTPUT |
public static final int LOCAL_VALUE
If the meaning of 'Local' literal object isn't clear, there really should be more of a description here...
LOCAL
,
Constant Field Valuesname | = | local |
literal | = | LOCAL |
public static final List<Scope> VALUES
Method Detail |
---|
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope 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 Scope get(String literal)
public static Scope getByName(String name)
public static Scope 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<Scope>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |