public enum FeatureState extends Enum<FeatureState> implements Enumerator
de.uka.ipd.sdq.featuremodel.featuremodelPackage#getFeatureState()| Enum Constant and Description |
|---|
MANDATORY
The 'MANDATORY' literal object.
|
NOT_SET
The 'NOT SET' literal object.
|
OPTIONAL
The 'OPTIONAL' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MANDATORY_VALUE
The 'MANDATORY' literal value.
|
static int |
NOT_SET_VALUE
The 'NOT SET' literal value.
|
static int |
OPTIONAL_VALUE
The 'OPTIONAL' literal value.
|
static List<FeatureState> |
VALUES
A public read-only list of all the 'Feature State' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static FeatureState |
get(int value)
Returns the 'Feature State' literal with the specified integer value.
|
static FeatureState |
get(String literal)
Returns the 'Feature State' literal with the specified literal value.
|
static FeatureState |
getByName(String name)
Returns the 'Feature 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 FeatureState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureState NOT_SET
NOT_SET_VALUEpublic static final FeatureState OPTIONAL
OPTIONAL_VALUEpublic static final FeatureState MANDATORY
MANDATORY_VALUEpublic static final int NOT_SET_VALUE
If the meaning of 'NOT SET' literal object isn't clear, there really should be more of a description here...
NOT_SET,
Constant Field Valuespublic static final int OPTIONAL_VALUE
If the meaning of 'OPTIONAL' literal object isn't clear, there really should be more of a description here...
OPTIONAL,
Constant Field Valuespublic static final int MANDATORY_VALUE
If the meaning of 'MANDATORY' literal object isn't clear, there really should be more of a description here...
MANDATORY,
Constant Field Valuespublic static final List<FeatureState> VALUES
public static FeatureState[] values()
for (FeatureState c : FeatureState.values()) System.out.println(c);
public static FeatureState 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 FeatureState get(String literal)
public static FeatureState getByName(String name)
public static FeatureState 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<FeatureState>