Enum RoleType
- java.lang.Object
-
- java.lang.Enum<RoleType>
-
- org.palladiosimulator.qes.qualityEffectSpecification.RoleType
-
- All Implemented Interfaces:
Serializable
,Comparable<RoleType>
,Enumerator
public enum RoleType extends Enum<RoleType> implements Enumerator
A representation of the literals of the enumeration 'Role Type', and utility methods for working with them.- See Also:
QualityEffectSpecificationPackage.getRoleType()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
The 'ANY' literal object.COMPONENT_PROVIDED
The 'COMPONENT PROVIDED' literal object.COMPONENT_REQUIRED
The 'COMPONENT REQUIRED' literal object.COMPONENT_REQUIRED_PROVIDED
The 'COMPONENT REQUIRED PROVIDED' literal object.INFRASTRUCTURE_PROVIDED
The 'INFRASTRUCTURE PROVIDED' literal object.INFRASTRUCTURE_REQUIRED
The 'INFRASTRUCTURE REQUIRED' literal object.INFRASTRUCTURE_REQUIRED_PROVIDED
The 'INFRASTRUCTURE REQUIRED PROVIDED' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
ANY_VALUE
The 'ANY' literal value.static int
COMPONENT_PROVIDED_VALUE
The 'COMPONENT PROVIDED' literal value.static int
COMPONENT_REQUIRED_PROVIDED_VALUE
The 'COMPONENT REQUIRED PROVIDED' literal value.static int
COMPONENT_REQUIRED_VALUE
The 'COMPONENT REQUIRED' literal value.static int
INFRASTRUCTURE_PROVIDED_VALUE
The 'INFRASTRUCTURE PROVIDED' literal value.static int
INFRASTRUCTURE_REQUIRED_PROVIDED_VALUE
The 'INFRASTRUCTURE REQUIRED PROVIDED' literal value.static int
INFRASTRUCTURE_REQUIRED_VALUE
The 'INFRASTRUCTURE REQUIRED' literal value.static List<RoleType>
VALUES
A public read-only list of all the 'Role Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleType
get(int value)
Returns the 'Role Type' literal with the specified integer value.static RoleType
get(String literal)
Returns the 'Role Type' literal with the specified literal value.static RoleType
getByName(String name)
Returns the 'Role 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 RoleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RoleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final RoleType ANY
The 'ANY' literal object.- See Also:
ANY_VALUE
- Generated class or method.
- Ordered collection.
-
COMPONENT_REQUIRED_PROVIDED
public static final RoleType COMPONENT_REQUIRED_PROVIDED
The 'COMPONENT REQUIRED PROVIDED' literal object.- See Also:
COMPONENT_REQUIRED_PROVIDED_VALUE
- Generated class or method.
- Ordered collection.
-
COMPONENT_REQUIRED
public static final RoleType COMPONENT_REQUIRED
The 'COMPONENT REQUIRED' literal object.- See Also:
COMPONENT_REQUIRED_VALUE
- Generated class or method.
- Ordered collection.
-
COMPONENT_PROVIDED
public static final RoleType COMPONENT_PROVIDED
The 'COMPONENT PROVIDED' literal object.- See Also:
COMPONENT_PROVIDED_VALUE
- Generated class or method.
- Ordered collection.
-
INFRASTRUCTURE_REQUIRED_PROVIDED
public static final RoleType INFRASTRUCTURE_REQUIRED_PROVIDED
The 'INFRASTRUCTURE REQUIRED PROVIDED' literal object.- See Also:
INFRASTRUCTURE_REQUIRED_PROVIDED_VALUE
- Generated class or method.
- Ordered collection.
-
INFRASTRUCTURE_REQUIRED
public static final RoleType INFRASTRUCTURE_REQUIRED
The 'INFRASTRUCTURE REQUIRED' literal object.- See Also:
INFRASTRUCTURE_REQUIRED_VALUE
- Generated class or method.
- Ordered collection.
-
INFRASTRUCTURE_PROVIDED
public static final RoleType INFRASTRUCTURE_PROVIDED
The 'INFRASTRUCTURE PROVIDED' literal object.- See Also:
INFRASTRUCTURE_PROVIDED_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
ANY_VALUE
public static final int ANY_VALUE
The 'ANY' literal value.If the meaning of 'ANY' literal object isn't clear, there really should be more of a description here...
- See Also:
ANY
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="AnyRoleType"
- Ordered collection.
-
COMPONENT_REQUIRED_PROVIDED_VALUE
public static final int COMPONENT_REQUIRED_PROVIDED_VALUE
The 'COMPONENT REQUIRED PROVIDED' literal value.If the meaning of 'COMPONENT REQUIRED PROVIDED' literal object isn't clear, there really should be more of a description here...
- See Also:
COMPONENT_REQUIRED_PROVIDED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="ComponentRequiredProvided"
- Ordered collection.
-
COMPONENT_REQUIRED_VALUE
public static final int COMPONENT_REQUIRED_VALUE
The 'COMPONENT REQUIRED' literal value.If the meaning of 'COMPONENT REQUIRED' literal object isn't clear, there really should be more of a description here...
- See Also:
COMPONENT_REQUIRED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="ComponentRequired"
- Ordered collection.
-
COMPONENT_PROVIDED_VALUE
public static final int COMPONENT_PROVIDED_VALUE
The 'COMPONENT PROVIDED' literal value.If the meaning of 'COMPONENT PROVIDED' literal object isn't clear, there really should be more of a description here...
- See Also:
COMPONENT_PROVIDED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="ComponentProvided"
- Ordered collection.
-
INFRASTRUCTURE_REQUIRED_PROVIDED_VALUE
public static final int INFRASTRUCTURE_REQUIRED_PROVIDED_VALUE
The 'INFRASTRUCTURE REQUIRED PROVIDED' literal value.If the meaning of 'INFRASTRUCTURE REQUIRED PROVIDED' literal object isn't clear, there really should be more of a description here...
- See Also:
INFRASTRUCTURE_REQUIRED_PROVIDED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="InfrastructureRequiredProvided"
- Ordered collection.
-
INFRASTRUCTURE_REQUIRED_VALUE
public static final int INFRASTRUCTURE_REQUIRED_VALUE
The 'INFRASTRUCTURE REQUIRED' literal value.If the meaning of 'INFRASTRUCTURE REQUIRED' literal object isn't clear, there really should be more of a description here...
- See Also:
INFRASTRUCTURE_REQUIRED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="InfrastructureRequired"
- Ordered collection.
-
INFRASTRUCTURE_PROVIDED_VALUE
public static final int INFRASTRUCTURE_PROVIDED_VALUE
The 'INFRASTRUCTURE PROVIDED' literal value.If the meaning of 'INFRASTRUCTURE PROVIDED' literal object isn't clear, there really should be more of a description here...
- See Also:
INFRASTRUCTURE_PROVIDED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- literal="InfrastructureProvided"
- Ordered collection.
-
-
Method Detail
-
values
public static RoleType[] 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 (RoleType c : RoleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoleType 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 RoleType get(String literal)
Returns the 'Role Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
public static RoleType getByName(String name)
Returns the 'Role Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
public static RoleType get(int value)
Returns the 'Role 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.
-
-