Enum SchedulingType
- java.lang.Object
-
- java.lang.Enum<SchedulingType>
-
- org.palladiosimulator.solver.lqn.SchedulingType
-
- All Implemented Interfaces:
Serializable
,Comparable<SchedulingType>
,Enumerator
public enum SchedulingType extends Enum<SchedulingType> implements Enumerator
A representation of the literals of the enumeration ' Scheduling Type', and utility methods for working with them.- See Also:
LqnPackage.getSchedulingType()
- Generated class or method.
- EMF model class or method.
- extendedMetaData="name='SchedulingType'"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CFS
The 'Cfs' literal object.FCFS
The 'Fcfs' literal object.HOL
The 'Hol' literal object.INF
The 'Inf' literal object.PP
The 'Pp' literal object.PS
The 'Ps' literal object.PS_HOL
The 'Ps Hol' literal object.PS_PP
The 'Ps Pp' literal object.RAND
The 'Rand' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
CFS_VALUE
The 'Cfs' literal value.static int
FCFS_VALUE
The 'Fcfs' literal value.static int
HOL_VALUE
The 'Hol' literal value.static int
INF_VALUE
The 'Inf' literal value.static int
PP_VALUE
The 'Pp' literal value.static int
PS_HOL_VALUE
The 'Ps Hol' literal value.static int
PS_PP_VALUE
The 'Ps Pp' literal value.static int
PS_VALUE
The 'Ps' literal value.static int
RAND_VALUE
The 'Rand' literal value.static List<SchedulingType>
VALUES
A public read-only list of all the 'Scheduling Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchedulingType
get(int value)
Returns the 'Scheduling Type' literal with the specified integer value.static SchedulingType
get(String literal)
Returns the 'Scheduling Type' literal with the specified literal value.static SchedulingType
getByName(String name)
Returns the 'Scheduling 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 SchedulingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchedulingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FCFS
public static final SchedulingType FCFS
The 'Fcfs' literal object.- See Also:
FCFS_VALUE
- Generated class or method.
- Ordered collection.
-
PS
public static final SchedulingType PS
The 'Ps' literal object.- See Also:
PS_VALUE
- Generated class or method.
- Ordered collection.
-
PP
public static final SchedulingType PP
The 'Pp' literal object.- See Also:
PP_VALUE
- Generated class or method.
- Ordered collection.
-
INF
public static final SchedulingType INF
The 'Inf' literal object.- See Also:
INF_VALUE
- Generated class or method.
- Ordered collection.
-
RAND
public static final SchedulingType RAND
The 'Rand' literal object.- See Also:
RAND_VALUE
- Generated class or method.
- Ordered collection.
-
HOL
public static final SchedulingType HOL
The 'Hol' literal object.- See Also:
HOL_VALUE
- Generated class or method.
- Ordered collection.
-
PS_HOL
public static final SchedulingType PS_HOL
The 'Ps Hol' literal object.- See Also:
PS_HOL_VALUE
- Generated class or method.
- Ordered collection.
-
PS_PP
public static final SchedulingType PS_PP
The 'Ps Pp' literal object.- See Also:
PS_PP_VALUE
- Generated class or method.
- Ordered collection.
-
CFS
public static final SchedulingType CFS
The 'Cfs' literal object.- See Also:
CFS_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
FCFS_VALUE
public static final int FCFS_VALUE
The 'Fcfs' literal value.If the meaning of 'Fcfs' literal object isn't clear, there really should be more of a description here...
- See Also:
FCFS
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="fcfs"
- Ordered collection.
-
PS_VALUE
public static final int PS_VALUE
The 'Ps' literal value.If the meaning of 'Ps' literal object isn't clear, there really should be more of a description here...
- See Also:
PS
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="ps"
- Ordered collection.
-
PP_VALUE
public static final int PP_VALUE
The 'Pp' literal value.If the meaning of 'Pp' literal object isn't clear, there really should be more of a description here...
- See Also:
PP
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="pp"
- Ordered collection.
-
INF_VALUE
public static final int INF_VALUE
The 'Inf' literal value.If the meaning of 'Inf' literal object isn't clear, there really should be more of a description here...
- See Also:
INF
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="inf"
- Ordered collection.
-
RAND_VALUE
public static final int RAND_VALUE
The 'Rand' literal value.If the meaning of 'Rand' literal object isn't clear, there really should be more of a description here...
- See Also:
RAND
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="rand"
- Ordered collection.
-
HOL_VALUE
public static final int HOL_VALUE
The 'Hol' literal value.If the meaning of 'Hol' literal object isn't clear, there really should be more of a description here...
- See Also:
HOL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="hol"
- Ordered collection.
-
PS_HOL_VALUE
public static final int PS_HOL_VALUE
The 'Ps Hol' literal value.If the meaning of 'Ps Hol' literal object isn't clear, there really should be more of a description here...
- See Also:
PS_HOL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="psHol" literal="ps-hol"
- Ordered collection.
-
PS_PP_VALUE
public static final int PS_PP_VALUE
The 'Ps Pp' literal value.If the meaning of 'Ps Pp' literal object isn't clear, there really should be more of a description here...
- See Also:
PS_PP
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="psPp" literal="ps-pp"
- Ordered collection.
-
CFS_VALUE
public static final int CFS_VALUE
The 'Cfs' literal value.If the meaning of 'Cfs' literal object isn't clear, there really should be more of a description here...
- See Also:
CFS
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="cfs"
- Ordered collection.
-
VALUES
public static final List<SchedulingType> VALUES
A public read-only list of all the 'Scheduling Type' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static SchedulingType[] 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 (SchedulingType c : SchedulingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchedulingType 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 SchedulingType get(String literal)
Returns the 'Scheduling Type' literal with the specified literal value.- Generated class or method.
-
getByName
public static SchedulingType getByName(String name)
Returns the 'Scheduling Type' literal with the specified name.- Generated class or method.
-
get
public static SchedulingType get(int value)
Returns the 'Scheduling 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.
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<SchedulingType>
- Generated class or method.
-
-