Enum Class ComparisonOp
- All Implemented Interfaces:
Serializable
,Comparable<ComparisonOp>
,Constable
,org.eclipse.emf.common.util.Enumerator
public enum ComparisonOp
extends Enum<ComparisonOp>
implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Comparison Op',
and utility methods for working with them.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe 'EQ' literal object.The 'GREATER' literal object.The 'GREATER EQ' literal object.The 'IN' literal object.The 'LESS' literal object.The 'LESS EQ' literal object.The 'NODE EQ' literal object.The 'NODE NOT EQ' literal object.The 'NOT EQ' literal object. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'EQ' literal value.static final int
The 'GREATER EQ' literal value.static final int
The 'GREATER' literal value.static final int
The 'IN' literal value.static final int
The 'LESS EQ' literal value.static final int
The 'LESS' literal value.static final int
The 'NODE EQ' literal value.static final int
The 'NODE NOT EQ' literal value.static final int
The 'NOT EQ' literal value.static final List
<ComparisonOp> A public read-only list of all the 'Comparison Op' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComparisonOp
get
(int value) Returns the 'Comparison Op' literal with the specified integer value.static ComparisonOp
Returns the 'Comparison Op' literal with the specified literal value.static ComparisonOp
Returns the 'Comparison Op' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static ComparisonOp
Returns the enum constant of this class with the specified name.static ComparisonOp[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LESS
The 'LESS' literal object.- See Also:
-
LESS_EQ
The 'LESS EQ' literal object.- See Also:
-
GREATER
The 'GREATER' literal object.- See Also:
-
GREATER_EQ
The 'GREATER EQ' literal object.- See Also:
-
EQ
The 'EQ' literal object.- See Also:
-
NOT_EQ
The 'NOT EQ' literal object.- See Also:
-
IN
The 'IN' literal object.- See Also:
-
NODE_EQ
The 'NODE EQ' literal object.- See Also:
-
NODE_NOT_EQ
The 'NODE NOT EQ' literal object.- See Also:
-
-
Field Details
-
LESS_VALUE
public static final int LESS_VALUEThe 'LESS' literal value.- See Also:
-
LESS_EQ_VALUE
public static final int LESS_EQ_VALUEThe 'LESS EQ' literal value.- See Also:
-
GREATER_VALUE
public static final int GREATER_VALUEThe 'GREATER' literal value.- See Also:
-
GREATER_EQ_VALUE
public static final int GREATER_EQ_VALUEThe 'GREATER EQ' literal value.- See Also:
-
EQ_VALUE
public static final int EQ_VALUEThe 'EQ' literal value.- See Also:
-
NOT_EQ_VALUE
public static final int NOT_EQ_VALUEThe 'NOT EQ' literal value.- See Also:
-
IN_VALUE
public static final int IN_VALUEThe 'IN' literal value.- See Also:
-
NODE_EQ_VALUE
public static final int NODE_EQ_VALUEThe 'NODE EQ' literal value.- See Also:
-
NODE_NOT_EQ_VALUE
public static final int NODE_NOT_EQ_VALUEThe 'NODE NOT EQ' literal value.- See Also:
-
VALUES
A public read-only list of all the 'Comparison Op' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Comparison Op' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Comparison Op' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
Returns the 'Comparison Op' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ComparisonOp>
-