Package de.uka.ipd.sdq.featureconfig
Enum ConfigState
- java.lang.Object
-
- java.lang.Enum<ConfigState>
-
- de.uka.ipd.sdq.featureconfig.ConfigState
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigState>
,Enumerator
public enum ConfigState extends Enum<ConfigState> implements Enumerator
A representation of the literals of the enumeration 'Config State', and utility methods for working with them.- See Also:
featureconfigPackage.getConfigState()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
The 'DEFAULT' literal object.ELIMINATED
The 'ELIMINATED' literal object.SELECTED
The 'SELECTED' literal object.
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
SELECTED
public static final ConfigState SELECTED
The 'SELECTED' literal object.- See Also:
SELECTED_VALUE
- Generated class or method.
- Ordered collection.
-
ELIMINATED
public static final ConfigState ELIMINATED
The 'ELIMINATED' literal object.- See Also:
ELIMINATED_VALUE
- Generated class or method.
- Ordered collection.
-
DEFAULT
public static final ConfigState DEFAULT
The 'DEFAULT' literal object.- See Also:
DEFAULT_VALUE
- Generated class or method.
- Ordered collection.
-
-
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- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
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- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
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- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<ConfigState> VALUES
A public read-only list of all the 'Config State' enumerators.- Generated class or method.
-
-
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 nameNullPointerException
- if the argument is null
-
get
public static ConfigState get(String literal)
Returns the 'Config State' literal with the specified literal value.- Generated class or method.
-
getByName
public static ConfigState getByName(String name)
Returns the 'Config State' literal with the specified name.- Generated class or method.
-
get
public static ConfigState get(int value)
Returns the '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<ConfigState>
- Generated class or method.
-
-