Enum Class BinaryOperation
- All Implemented Interfaces:
Serializable
,Comparable<BinaryOperation>
,Constable
,org.eclipse.emf.common.util.Enumerator
public enum BinaryOperation
extends Enum<BinaryOperation>
implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Binary Operation',
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 ConstantsEnum ConstantDescriptionThe 'AND' literal object.The 'DIVIDE' literal object.The 'EQ' literal object.The 'GE' literal object.The 'GT' literal object.The 'IN' literal object.The 'IS' literal object.The 'LE' literal object.The 'LIKE' literal object.The 'LT' literal object.The 'MINUS' literal object.The 'MODULO' literal object.The 'MULTIPLY' literal object.The 'NE' literal object.The 'OR' literal object.The 'PLUS' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'AND' literal value.static final int
The 'DIVIDE' literal value.static final int
The 'EQ' literal value.static final int
The 'GE' literal value.static final int
The 'GT' literal value.static final int
The 'IN' literal value.static final int
The 'IS' literal value.static final int
The 'LE' literal value.static final int
The 'LIKE' literal value.static final int
The 'LT' literal value.static final int
The 'MINUS' literal value.static final int
The 'MODULO' literal value.static final int
The 'MULTIPLY' literal value.static final int
The 'NE' literal value.static final int
The 'OR' literal value.static final int
The 'PLUS' literal value.static final List<BinaryOperation>
A public read-only list of all the 'Binary Operation' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryOperation
get
(int value) Returns the 'Binary Operation' literal with the specified integer value.static BinaryOperation
Returns the 'Binary Operation' literal with the specified literal value.static BinaryOperation
Returns the 'Binary Operation' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static BinaryOperation
Returns the enum constant of this class with the specified name.static BinaryOperation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OR
The 'OR' literal object.- See Also:
-
AND
The 'AND' literal object.- See Also:
-
IN
The 'IN' literal object.- See Also:
-
IS
The 'IS' literal object.- See Also:
-
LT
The 'LT' literal object.- See Also:
-
LE
The 'LE' literal object.- See Also:
-
EQ
The 'EQ' literal object.- See Also:
-
GE
The 'GE' literal object.- See Also:
-
GT
The 'GT' literal object.- See Also:
-
NE
The 'NE' literal object.- See Also:
-
LIKE
The 'LIKE' literal object.- See Also:
-
PLUS
The 'PLUS' literal object.- See Also:
-
MINUS
The 'MINUS' literal object.- See Also:
-
MULTIPLY
The 'MULTIPLY' literal object.- See Also:
-
DIVIDE
The 'DIVIDE' literal object.- See Also:
-
MODULO
The 'MODULO' literal object.- See Also:
-
-
Field Details
-
OR_VALUE
public static final int OR_VALUEThe 'OR' literal value.- See Also:
-
AND_VALUE
public static final int AND_VALUEThe 'AND' literal value.- See Also:
-
IN_VALUE
public static final int IN_VALUEThe 'IN' literal value.- See Also:
-
IS_VALUE
public static final int IS_VALUEThe 'IS' literal value.- See Also:
-
LT_VALUE
public static final int LT_VALUEThe 'LT' literal value.- See Also:
-
LE_VALUE
public static final int LE_VALUEThe 'LE' literal value.- See Also:
-
EQ_VALUE
public static final int EQ_VALUEThe 'EQ' literal value.- See Also:
-
GE_VALUE
public static final int GE_VALUEThe 'GE' literal value.- See Also:
-
GT_VALUE
public static final int GT_VALUEThe 'GT' literal value.- See Also:
-
NE_VALUE
public static final int NE_VALUEThe 'NE' literal value.- See Also:
-
LIKE_VALUE
public static final int LIKE_VALUEThe 'LIKE' literal value.- See Also:
-
PLUS_VALUE
public static final int PLUS_VALUEThe 'PLUS' literal value.- See Also:
-
MINUS_VALUE
public static final int MINUS_VALUEThe 'MINUS' literal value.- See Also:
-
MULTIPLY_VALUE
public static final int MULTIPLY_VALUEThe 'MULTIPLY' literal value.- See Also:
-
DIVIDE_VALUE
public static final int DIVIDE_VALUEThe 'DIVIDE' literal value.- See Also:
-
MODULO_VALUE
public static final int MODULO_VALUEThe 'MODULO' literal value.- See Also:
-
VALUES
A public read-only list of all the 'Binary Operation' 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 'Binary Operation' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Binary Operation' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
Returns the 'Binary Operation' 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<BinaryOperation>
-