Enum EnumOperator
- java.lang.Object
-
- java.lang.Enum<EnumOperator>
-
- de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.EnumOperator
-
- All Implemented Interfaces:
Serializable
,Comparable<EnumOperator>
,Enumerator
public enum EnumOperator extends Enum<EnumOperator> implements Enumerator
A representation of the literals of the enumeration ' Enum Operator', and utility methods for working with them.- See Also:
QMLContractPackage.getEnumOperator()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL
The 'Equal' literal object.GREATER
The 'Greater' literal object.GREATER_OR_EQUAL
The 'Greater Or Equal' literal object.LESS
The 'Less' literal object.LESS_OR_EQUAL
The 'Less Or Equal' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
EQUAL_VALUE
The 'Equal' literal value.static int
GREATER_OR_EQUAL_VALUE
The 'Greater Or Equal' literal value.static int
GREATER_VALUE
The 'Greater' literal value.static int
LESS_OR_EQUAL_VALUE
The 'Less Or Equal' literal value.static int
LESS_VALUE
The 'Less' literal value.static List<EnumOperator>
VALUES
A public read-only list of all the 'Enum Operator' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnumOperator
get(int value)
Returns the 'Enum Operator' literal with the specified integer value.static EnumOperator
get(String literal)
Returns the 'Enum Operator' literal with the specified literal value.static EnumOperator
getByName(String name)
Returns the 'Enum Operator' 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 EnumOperator
valueOf(String name)
Returns the enum constant of this type with the specified name.static EnumOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LESS
public static final EnumOperator LESS
The 'Less' literal object.- See Also:
LESS_VALUE
- Generated class or method.
- Ordered collection.
-
GREATER
public static final EnumOperator GREATER
The 'Greater' literal object.- See Also:
GREATER_VALUE
- Generated class or method.
- Ordered collection.
-
EQUAL
public static final EnumOperator EQUAL
The 'Equal' literal object.- See Also:
EQUAL_VALUE
- Generated class or method.
- Ordered collection.
-
LESS_OR_EQUAL
public static final EnumOperator LESS_OR_EQUAL
The 'Less Or Equal' literal object.- See Also:
LESS_OR_EQUAL_VALUE
- Generated class or method.
- Ordered collection.
-
GREATER_OR_EQUAL
public static final EnumOperator GREATER_OR_EQUAL
The 'Greater Or Equal' literal object.- See Also:
GREATER_OR_EQUAL_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
LESS_VALUE
public static final int LESS_VALUE
The 'Less' literal value.If the meaning of 'Less' literal object isn't clear, there really should be more of a description here...
- See Also:
LESS
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="less"
- Ordered collection.
-
GREATER_VALUE
public static final int GREATER_VALUE
The 'Greater' literal value.If the meaning of 'Greater' literal object isn't clear, there really should be more of a description here...
- See Also:
GREATER
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="greater"
- Ordered collection.
-
EQUAL_VALUE
public static final int EQUAL_VALUE
The 'Equal' literal value.If the meaning of 'Equal' literal object isn't clear, there really should be more of a description here...
- See Also:
EQUAL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="equal"
- Ordered collection.
-
LESS_OR_EQUAL_VALUE
public static final int LESS_OR_EQUAL_VALUE
The 'Less Or Equal' literal value.If the meaning of 'Less Or Equal' literal object isn't clear, there really should be more of a description here...
- See Also:
LESS_OR_EQUAL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="lessOrEqual"
- Ordered collection.
-
GREATER_OR_EQUAL_VALUE
public static final int GREATER_OR_EQUAL_VALUE
The 'Greater Or Equal' literal value.If the meaning of 'Greater Or Equal' literal object isn't clear, there really should be more of a description here...
- See Also:
GREATER_OR_EQUAL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="greaterOrEqual"
- Ordered collection.
-
VALUES
public static final List<EnumOperator> VALUES
A public read-only list of all the 'Enum Operator' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static EnumOperator[] 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 (EnumOperator c : EnumOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnumOperator 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 EnumOperator get(String literal)
Returns the 'Enum Operator' literal with the specified literal value.- Generated class or method.
-
getByName
public static EnumOperator getByName(String name)
Returns the 'Enum Operator' literal with the specified name.- Generated class or method.
-
get
public static EnumOperator get(int value)
Returns the 'Enum Operator' 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<EnumOperator>
- Generated class or method.
-
-