|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ConfigState>
de.uka.ipd.sdq.featureconfig.ConfigState
public enum ConfigState
A representation of the literals of the enumeration 'Config State', and utility methods for working with them.
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 |
---|
public static final ConfigState SELECTED
SELECTED_VALUE
public static final ConfigState ELIMINATED
ELIMINATED_VALUE
public static final ConfigState DEFAULT
DEFAULT_VALUE
Field Detail |
---|
public static final int SELECTED_VALUE
If the meaning of 'SELECTED' literal object isn't clear, there really should be more of a description here...
SELECTED
,
Constant Field Valuespublic static final int ELIMINATED_VALUE
If the meaning of 'ELIMINATED' literal object isn't clear, there really should be more of a description here...
ELIMINATED
,
Constant Field Valuespublic static final int DEFAULT_VALUE
DEFAULT
,
Constant Field Valuespublic static final List<ConfigState> VALUES
Method Detail |
---|
public static ConfigState[] values()
for (ConfigState c : ConfigState.values()) System.out.println(c);
public static ConfigState 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 ConfigState get(String literal)
public static ConfigState getByName(String name)
public static ConfigState get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<ConfigState>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |