de.cau.cs.kieler.krep.editors.klp.klp
Enum Scope

java.lang.Object
  extended by java.lang.Enum<Scope>
      extended by de.cau.cs.kieler.krep.editors.klp.klp.Scope
All Implemented Interfaces:
Serializable, Comparable<Scope>, Enumerator

public enum Scope
extends Enum<Scope>
implements Enumerator

A representation of the literals of the enumeration 'Scope', and utility methods for working with them.

See Also:
KlpPackage.getScope()
Rating red
Generated:
This code was automatically generated.
Model element

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

INPUT

public static final Scope INPUT
The 'Input' literal object.

See Also:
INPUT_VALUE
Generated:
This code was automatically generated.
Ordered

OUTPUT

public static final Scope OUTPUT
The 'Output' literal object.

See Also:
OUTPUT_VALUE
Generated:
This code was automatically generated.
Ordered

LOCAL

public static final Scope LOCAL
The 'Local' literal object.

See Also:
LOCAL_VALUE
Generated:
This code was automatically generated.
Ordered
Field Detail

INPUT_VALUE

public static final int INPUT_VALUE
The 'Input' literal value.

If the meaning of 'Input' literal object isn't clear, there really should be more of a description here...

See Also:
INPUT, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=input
literal=INPUT
Ordered

OUTPUT_VALUE

public static final int OUTPUT_VALUE
The 'Output' literal value.

If the meaning of 'Output' literal object isn't clear, there really should be more of a description here...

See Also:
OUTPUT, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=output
literal=OUTPUT
Ordered

LOCAL_VALUE

public static final int LOCAL_VALUE
The 'Local' literal value.

If the meaning of 'Local' literal object isn't clear, there really should be more of a description here...

See Also:
LOCAL, Constant Field Values
Generated:
This code was automatically generated.
Model element:
name=local
literal=LOCAL
Ordered

VALUES

public static final List<Scope> VALUES
A public read-only list of all the 'Scope' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

public static Scope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Scope c : Scope.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Scope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static Scope get(String literal)
Returns the 'Scope' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

public static Scope getByName(String name)
Returns the 'Scope' literal with the specified name.

Generated:
This code was automatically generated.

get

public static Scope get(int value)
Returns the 'Scope' literal with the specified integer value.

Generated:
This code was automatically generated.

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Generated:
This code was automatically generated.

getName

public String getName()

Specified by:
getName in interface Enumerator
Generated:
This code was automatically generated.

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface Enumerator
Generated:
This code was automatically generated.

toString

public String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class Enum<Scope>
Generated:
This code was automatically generated.