Package de.uka.ipd.sdq.stoex
Enum CompareOperations
- java.lang.Object
-
- java.lang.Enum<CompareOperations>
-
- de.uka.ipd.sdq.stoex.CompareOperations
-
- All Implemented Interfaces:
Serializable
,Comparable<CompareOperations>
,Enumerator
public enum CompareOperations extends Enum<CompareOperations> implements Enumerator
A representation of the literals of the enumeration ' Compare Operations', and utility methods for working with them.- See Also:
StoexPackage.getCompareOperations()
- Generated class or method.
- EMF model class or method.
-
-
Field Summary
Fields Modifier and Type Field Description static String
copyright
static int
EQUALS_VALUE
The 'EQUALS' literal value.static int
GREATER_VALUE
The 'GREATER' literal value.static int
GREATEREQUAL_VALUE
The 'GREATEREQUAL' literal value.static int
LESS_VALUE
The 'LESS' literal value.static int
LESSEQUAL_VALUE
The 'LESSEQUAL' literal value.static int
NOTEQUAL_VALUE
The 'NOTEQUAL' literal value.static List<CompareOperations>
VALUES
A public read-only list of all the 'Compare Operations' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompareOperations
get(int value)
Returns the 'Compare Operations' literal with the specified integer value.static CompareOperations
get(String literal)
Returns the 'Compare Operations' literal with the specified literal value.static CompareOperations
getByName(String name)
Returns the 'Compare Operations' 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 CompareOperations
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompareOperations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREATER
public static final CompareOperations GREATER
The 'GREATER' literal object.- See Also:
GREATER_VALUE
- Generated class or method.
- Ordered collection.
-
EQUALS
public static final CompareOperations EQUALS
The 'EQUALS' literal object.- See Also:
EQUALS_VALUE
- Generated class or method.
- Ordered collection.
-
LESS
public static final CompareOperations LESS
The 'LESS' literal object.- See Also:
LESS_VALUE
- Generated class or method.
- Ordered collection.
-
NOTEQUAL
public static final CompareOperations NOTEQUAL
The 'NOTEQUAL' literal object.- See Also:
NOTEQUAL_VALUE
- Generated class or method.
- Ordered collection.
-
LESSEQUAL
public static final CompareOperations LESSEQUAL
The 'LESSEQUAL' literal object.- See Also:
LESSEQUAL_VALUE
- Generated class or method.
- Ordered collection.
-
GREATEREQUAL
public static final CompareOperations GREATEREQUAL
The 'GREATEREQUAL' literal object.- See Also:
GREATEREQUAL_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- Generated class or method.
-
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.
- Ordered collection.
-
EQUALS_VALUE
public static final int EQUALS_VALUE
The 'EQUALS' literal value.If the meaning of 'EQUALS' literal object isn't clear, there really should be more of a description here...
- See Also:
EQUALS
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
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.
- Ordered collection.
-
NOTEQUAL_VALUE
public static final int NOTEQUAL_VALUE
The 'NOTEQUAL' literal value.If the meaning of 'NOTEQUAL' literal object isn't clear, there really should be more of a description here...
- See Also:
NOTEQUAL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
LESSEQUAL_VALUE
public static final int LESSEQUAL_VALUE
The 'LESSEQUAL' literal value.If the meaning of 'LESSEQUAL' literal object isn't clear, there really should be more of a description here...
- See Also:
LESSEQUAL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
GREATEREQUAL_VALUE
public static final int GREATEREQUAL_VALUE
The 'GREATEREQUAL' literal value.If the meaning of 'GREATEREQUAL' literal object isn't clear, there really should be more of a description here...
- See Also:
GREATEREQUAL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<CompareOperations> VALUES
A public read-only list of all the 'Compare Operations' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static CompareOperations[] 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 (CompareOperations c : CompareOperations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompareOperations 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 CompareOperations get(String literal)
Returns the 'Compare Operations' literal with the specified literal value.- Generated class or method.
-
getByName
public static CompareOperations getByName(String name)
Returns the 'Compare Operations' literal with the specified name.- Generated class or method.
-
get
public static CompareOperations get(int value)
Returns the 'Compare Operations' 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<CompareOperations>
- Generated class or method.
-
-