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.- 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.- 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.- 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.- 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.- 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.- 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.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
public static CompareOperations getByName(String name)
Returns the 'Compare Operations' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
public static CompareOperations get(int value)
Returns the 'Compare Operations' 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<CompareOperations>
- Generated class or method.
-
-