Package de.uka.ipd.sdq.featureconfig
Enum FeatureConfigState
- java.lang.Object
-
- java.lang.Enum<FeatureConfigState>
-
- de.uka.ipd.sdq.featureconfig.FeatureConfigState
-
- All Implemented Interfaces:
Serializable
,Comparable<FeatureConfigState>
,Enumerator
public enum FeatureConfigState extends Enum<FeatureConfigState> implements Enumerator
A representation of the literals of the enumeration 'Feature Config State', and utility methods for working with them.- See Also:
featureconfigPackage.getFeatureConfigState()
- Generated class or method.
- EMF model class or method.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_VALUE
The 'DEFAULT' literal value.static int
NOT_SET_VALUE
The 'NOT SET' literal value.static int
OVERRIDE_VALUE
The 'OVERRIDE' literal value.static List<FeatureConfigState>
VALUES
A public read-only list of all the 'Feature Config State' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeatureConfigState
get(int value)
Returns the 'Feature Config State' literal with the specified integer value.static FeatureConfigState
get(String literal)
Returns the 'Feature Config State' literal with the specified literal value.static FeatureConfigState
getByName(String name)
Returns the 'Feature 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 FeatureConfigState
valueOf(String name)
Returns the enum constant of this type with the specified name.static FeatureConfigState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_SET
public static final FeatureConfigState NOT_SET
The 'NOT SET' literal object.- See Also:
NOT_SET_VALUE
- Generated class or method.
- Ordered collection.
-
OVERRIDE
public static final FeatureConfigState OVERRIDE
The 'OVERRIDE' literal object.- See Also:
OVERRIDE_VALUE
- Generated class or method.
- Ordered collection.
-
DEFAULT
public static final FeatureConfigState DEFAULT
The 'DEFAULT' literal object.- See Also:
DEFAULT_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
NOT_SET_VALUE
public static final int NOT_SET_VALUE
The 'NOT SET' literal value.If the meaning of 'NOT SET' literal object isn't clear, there really should be more of a description here...
- See Also:
NOT_SET
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
OVERRIDE_VALUE
public static final int OVERRIDE_VALUE
The 'OVERRIDE' literal value.If the meaning of 'OVERRIDE' literal object isn't clear, there really should be more of a description here...
- See Also:
OVERRIDE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
DEFAULT_VALUE
public static final int DEFAULT_VALUE
The 'DEFAULT' literal value.If the meaning of 'DEFAULT' literal object isn't clear, there really should be more of a description here...
- See Also:
DEFAULT
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<FeatureConfigState> VALUES
A public read-only list of all the 'Feature Config State' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static FeatureConfigState[] 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 (FeatureConfigState c : FeatureConfigState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeatureConfigState 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 nameNullPointerException
- if the argument is null
-
get
public static FeatureConfigState get(String literal)
Returns the 'Feature Config State' literal with the specified literal value.- Generated class or method.
-
getByName
public static FeatureConfigState getByName(String name)
Returns the 'Feature Config State' literal with the specified name.- Generated class or method.
-
get
public static FeatureConfigState get(int value)
Returns the 'Feature Config State' literal with the specified integer value.- Generated class or method.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
- Generated class or method.
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
- Generated class or method.
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
- Generated class or method.
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<FeatureConfigState>
- Generated class or method.
-
-