Package org.palladiosimulator.solver.lqn
Enum TypeType
- java.lang.Object
-
- java.lang.Enum<TypeType>
-
- org.palladiosimulator.solver.lqn.TypeType
-
- All Implemented Interfaces:
Serializable
,Comparable<TypeType>
,Enumerator
public enum TypeType extends Enum<TypeType> implements Enumerator
A representation of the literals of the enumeration ' Type Type', and utility methods for working with them.- See Also:
LqnPackage.getTypeType()
- Generated class or method.
- EMF model class or method.
- extendedMetaData="name='type_._type'"
-
-
Field Summary
Fields Modifier and Type Field Description static int
GRAPH_VALUE
The 'GRAPH' literal value.static int
NONE_VALUE
The 'NONE' literal value.static int
PH1PH2_VALUE
The 'PH1PH2' literal value.static List<TypeType>
VALUES
A public read-only list of all the 'Type Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeType
get(int value)
Returns the 'Type Type' literal with the specified integer value.static TypeType
get(String literal)
Returns the 'Type Type' literal with the specified literal value.static TypeType
getByName(String name)
Returns the 'Type 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 TypeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TypeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PH1PH2
public static final TypeType PH1PH2
The 'PH1PH2' literal object.- See Also:
PH1PH2_VALUE
- Generated class or method.
- Ordered collection.
-
GRAPH
public static final TypeType GRAPH
The 'GRAPH' literal object.- See Also:
GRAPH_VALUE
- Generated class or method.
- Ordered collection.
-
NONE
public static final TypeType NONE
The 'NONE' literal object.- See Also:
NONE_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
PH1PH2_VALUE
public static final int PH1PH2_VALUE
The 'PH1PH2' literal value.If the meaning of 'PH1PH2' literal object isn't clear, there really should be more of a description here...
- See Also:
PH1PH2
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
GRAPH_VALUE
public static final int GRAPH_VALUE
The 'GRAPH' literal value.If the meaning of 'GRAPH' literal object isn't clear, there really should be more of a description here...
- See Also:
GRAPH
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
NONE_VALUE
public static final int NONE_VALUE
The 'NONE' literal value.If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
- See Also:
NONE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
-
Method Detail
-
values
public static TypeType[] 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 (TypeType c : TypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeType 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 TypeType get(String literal)
Returns the 'Type Type' literal with the specified literal value.- Generated class or method.
-
getByName
public static TypeType getByName(String name)
Returns the 'Type Type' literal with the specified name.- Generated class or method.
-
get
public static TypeType get(int value)
Returns the 'Type Type' 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.
-
-