Enum VariableUsageType
- java.lang.Object
-
- java.lang.Enum<VariableUsageType>
-
- org.palladiosimulator.reliability.sensitivity.VariableUsageType
-
- All Implemented Interfaces:
Serializable
,Comparable<VariableUsageType>
,Enumerator
public enum VariableUsageType extends Enum<VariableUsageType> implements Enumerator
A representation of the literals of the enumeration ' Variable Usage Type', and utility methods for working with them. Specifies a type of variable usage in a PCM Instance- See Also:
SensitivityPackage.getVariableUsageType()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPONENT_CONFIGURATION
The 'COMPONENT CONFIGURATION' literal object.SYSTEM_CALL_INPUT
The 'SYSTEM CALL INPUT' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
COMPONENT_CONFIGURATION_VALUE
The 'COMPONENT CONFIGURATION' literal value.static int
SYSTEM_CALL_INPUT_VALUE
The 'SYSTEM CALL INPUT' literal value.static List<VariableUsageType>
VALUES
A public read-only list of all the 'Variable Usage Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VariableUsageType
get(int value)
Returns the 'Variable Usage Type' literal with the specified integer value.static VariableUsageType
get(String literal)
Returns the 'Variable Usage Type' literal with the specified literal value.static VariableUsageType
getByName(String name)
Returns the 'Variable Usage Type' 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 VariableUsageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VariableUsageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM_CALL_INPUT
public static final VariableUsageType SYSTEM_CALL_INPUT
The 'SYSTEM CALL INPUT' literal object.- See Also:
SYSTEM_CALL_INPUT_VALUE
- Generated class or method.
- Ordered collection.
-
COMPONENT_CONFIGURATION
public static final VariableUsageType COMPONENT_CONFIGURATION
The 'COMPONENT CONFIGURATION' literal object.- See Also:
COMPONENT_CONFIGURATION_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
SYSTEM_CALL_INPUT_VALUE
public static final int SYSTEM_CALL_INPUT_VALUE
The 'SYSTEM CALL INPUT' literal value.If the meaning of 'SYSTEM CALL INPUT' literal object isn't clear, there really should be more of a description here...
- See Also:
SYSTEM_CALL_INPUT
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
COMPONENT_CONFIGURATION_VALUE
public static final int COMPONENT_CONFIGURATION_VALUE
The 'COMPONENT CONFIGURATION' literal value.If the meaning of 'COMPONENT CONFIGURATION' literal object isn't clear, there really should be more of a description here...
- See Also:
COMPONENT_CONFIGURATION
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<VariableUsageType> VALUES
A public read-only list of all the 'Variable Usage Type' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static VariableUsageType[] 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 (VariableUsageType c : VariableUsageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VariableUsageType 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 VariableUsageType get(String literal)
Returns the 'Variable Usage Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
public static VariableUsageType getByName(String name)
Returns the 'Variable Usage Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
public static VariableUsageType get(int value)
Returns the 'Variable Usage Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
. - 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<VariableUsageType>
- Generated class or method.
-
-