de.uka.ipd.sdq.featureconfig
Enum ConfigState

java.lang.Object
  extended by java.lang.Enum<ConfigState>
      extended by de.uka.ipd.sdq.featureconfig.ConfigState
All Implemented Interfaces:
Serializable, Comparable<ConfigState>

public enum ConfigState
extends Enum<ConfigState>

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

See Also:
featureconfigPackage.getConfigState()

Enum Constant Summary
DEFAULT
          The 'DEFAULT' literal object.
ELIMINATED
          The 'ELIMINATED' literal object.
SELECTED
          The 'SELECTED' literal object.
 
Field Summary
static int DEFAULT_VALUE
          The 'DEFAULT' literal value.
static int ELIMINATED_VALUE
          The 'ELIMINATED' literal value.
static int SELECTED_VALUE
          The 'SELECTED' literal value.
static List<ConfigState> VALUES
          A public read-only list of all the 'Config State' enumerators.
 
Method Summary
static ConfigState get(int value)
          Returns the 'Config State' literal with the specified integer value.
static ConfigState get(String literal)
          Returns the 'Config State' literal with the specified literal value.
static ConfigState getByName(String name)
          Returns the 'Config State' 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 ConfigState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConfigState[] 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

SELECTED

public static final ConfigState SELECTED
The 'SELECTED' literal object.

See Also:
SELECTED_VALUE

ELIMINATED

public static final ConfigState ELIMINATED
The 'ELIMINATED' literal object.

See Also:
ELIMINATED_VALUE

DEFAULT

public static final ConfigState DEFAULT
The 'DEFAULT' literal object.

See Also:
DEFAULT_VALUE
Field Detail

SELECTED_VALUE

public static final int SELECTED_VALUE
The 'SELECTED' literal value.

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

See Also:
SELECTED, Constant Field Values

ELIMINATED_VALUE

public static final int ELIMINATED_VALUE
The 'ELIMINATED' literal value.

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

See Also:
ELIMINATED, Constant Field Values

DEFAULT_VALUE

public static final int DEFAULT_VALUE
The 'DEFAULT' literal value. use value from deaultConfig aka NULL, not set, do not override

See Also:
DEFAULT, Constant Field Values

VALUES

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

Method Detail

values

public static ConfigState[] 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 (ConfigState c : ConfigState.values())
    System.out.println(c);

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

valueOf

public static ConfigState 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 ConfigState get(String literal)
Returns the 'Config State' literal with the specified literal value.


getByName

public static ConfigState getByName(String name)
Returns the 'Config State' literal with the specified name.


get

public static ConfigState get(int value)
Returns the 'Config State' literal with the specified integer value.


getValue

public int getValue()


getName

public String getName()


getLiteral

public String getLiteral()


toString

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

Overrides:
toString in class Enum<ConfigState>