Enum PCMRERequestCategory
- java.lang.Object
-
- java.lang.Enum<PCMRERequestCategory>
-
- org.palladiosimulator.analyzer.quality.qualityannotation.PCMRERequestCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<PCMRERequestCategory>
,Enumerator
public enum PCMRERequestCategory extends Enum<PCMRERequestCategory> implements Enumerator
A representation of the literals of the enumeration ' PCMRE Request Category', and utility methods for working with them.- See Also:
QualityAnnotationPackage.getPCMRERequestCategory()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPONENT
The 'Component' literal object.COMPONENT_INTERNAL
The 'Component Internal' literal object.INFRASTRUCTURE
The 'Infrastructure' literal object.RESOURCE
The 'Resource' literal object.RESOURCE_DEMAND
The 'Resource Demand' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
COMPONENT_INTERNAL_VALUE
The 'Component Internal' literal value.static int
COMPONENT_VALUE
The 'Component' literal value.static int
INFRASTRUCTURE_VALUE
The 'Infrastructure' literal value.static int
RESOURCE_DEMAND_VALUE
The 'Resource Demand' literal value.static int
RESOURCE_VALUE
The 'Resource' literal value.static List<PCMRERequestCategory>
VALUES
A public read-only list of all the 'PCMRE Request Category' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PCMRERequestCategory
get(int value)
Returns the 'PCMRE Request Category' literal with the specified integer value.static PCMRERequestCategory
get(String literal)
Returns the 'PCMRE Request Category' literal with the specified literal value.static PCMRERequestCategory
getByName(String name)
Returns the 'PCMRE Request Category' 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 PCMRERequestCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static PCMRERequestCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE
public static final PCMRERequestCategory RESOURCE
The 'Resource' literal object.- See Also:
RESOURCE_VALUE
- Generated class or method.
- Ordered collection.
-
INFRASTRUCTURE
public static final PCMRERequestCategory INFRASTRUCTURE
The 'Infrastructure' literal object.- See Also:
INFRASTRUCTURE_VALUE
- Generated class or method.
- Ordered collection.
-
COMPONENT
public static final PCMRERequestCategory COMPONENT
The 'Component' literal object.- See Also:
COMPONENT_VALUE
- Generated class or method.
- Ordered collection.
-
RESOURCE_DEMAND
public static final PCMRERequestCategory RESOURCE_DEMAND
The 'Resource Demand' literal object.- See Also:
RESOURCE_DEMAND_VALUE
- Generated class or method.
- Ordered collection.
-
COMPONENT_INTERNAL
public static final PCMRERequestCategory COMPONENT_INTERNAL
The 'Component Internal' literal object.- See Also:
COMPONENT_INTERNAL_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
RESOURCE_VALUE
public static final int RESOURCE_VALUE
The 'Resource' literal value.If the meaning of 'Resource' literal object isn't clear, there really should be more of a description here...
- See Also:
RESOURCE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="Resource"
- Ordered collection.
-
INFRASTRUCTURE_VALUE
public static final int INFRASTRUCTURE_VALUE
The 'Infrastructure' literal value.If the meaning of 'Infrastructure' literal object isn't clear, there really should be more of a description here...
- See Also:
INFRASTRUCTURE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="Infrastructure"
- Ordered collection.
-
COMPONENT_VALUE
public static final int COMPONENT_VALUE
The 'Component' literal value.If the meaning of 'Component' literal object isn't clear, there really should be more of a description here...
- See Also:
COMPONENT
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="Component"
- Ordered collection.
-
RESOURCE_DEMAND_VALUE
public static final int RESOURCE_DEMAND_VALUE
The 'Resource Demand' literal value.If the meaning of 'Resource Demand' literal object isn't clear, there really should be more of a description here...
- See Also:
RESOURCE_DEMAND
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="ResourceDemand"
- Ordered collection.
-
COMPONENT_INTERNAL_VALUE
public static final int COMPONENT_INTERNAL_VALUE
The 'Component Internal' literal value.If the meaning of 'Component Internal' literal object isn't clear, there really should be more of a description here...
- See Also:
COMPONENT_INTERNAL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="ComponentInternal"
- Ordered collection.
-
VALUES
public static final List<PCMRERequestCategory> VALUES
A public read-only list of all the 'PCMRE Request Category' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static PCMRERequestCategory[] 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 (PCMRERequestCategory c : PCMRERequestCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PCMRERequestCategory 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 PCMRERequestCategory get(String literal)
Returns the 'PCMRE Request Category' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
public static PCMRERequestCategory getByName(String name)
Returns the 'PCMRE Request Category' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
public static PCMRERequestCategory get(int value)
Returns the 'PCMRE Request Category' 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<PCMRERequestCategory>
- Generated class or method.
-
-