public enum ConfigState extends Enum<ConfigState> implements Enumerator
featureconfigPackage.getConfigState()| Enum Constant and Description |
|---|
DEFAULT
The 'DEFAULT' literal object.
|
ELIMINATED
The 'ELIMINATED' literal object.
|
SELECTED
The 'SELECTED' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final ConfigState SELECTED
SELECTED_VALUEpublic static final ConfigState ELIMINATED
ELIMINATED_VALUEpublic static final ConfigState DEFAULT
DEFAULT_VALUEpublic 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
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 nameNullPointerException - 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()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumeratorpublic String toString()
toString in class Enum<ConfigState>