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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe 'AND' literal value.static final intThe 'EQ' literal value.static final intThe 'GE' literal value.static final intThe 'GT' literal value.static final intThe 'LE' literal value.static final intThe 'LT' literal value.static final intThe 'NE' literal value.static final intThe 'OR' literal value.static final intThe 'PLUS' literal value.static final List<BinaryOperation>A public read-only list of all the 'Binary Operation' enumerators.
- 
Method SummaryModifier and TypeMethodDescriptionstatic BinaryOperationget(int value) Returns the 'Binary Operation' literal with the specified integer value.static BinaryOperationReturns the 'Binary Operation' literal with the specified literal value.static BinaryOperationReturns the 'Binary Operation' literal with the specified name.getName()intgetValue()toString()Returns the literal value of the enumerator, which is its string representation.static BinaryOperationReturns 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- 
ORThe 'OR' literal object.- See Also:
 
- 
ANDThe 'AND' literal object.- See Also:
 
- 
LTThe 'LT' literal object.- See Also:
 
- 
LEThe 'LE' literal object.- See Also:
 
- 
EQThe 'EQ' literal object.- See Also:
 
- 
GEThe 'GE' literal object.- See Also:
 
- 
GTThe 'GT' literal object.- See Also:
 
- 
NEThe 'NE' literal object.- See Also:
 
- 
PLUSThe 'PLUS' literal object.- See Also:
 
 
- 
- 
Field Details- 
OR_VALUEpublic static final int OR_VALUEThe 'OR' literal value.- See Also:
 
- 
AND_VALUEpublic static final int AND_VALUEThe 'AND' literal value.- See Also:
 
- 
LT_VALUEpublic static final int LT_VALUEThe 'LT' literal value.- See Also:
 
- 
LE_VALUEpublic static final int LE_VALUEThe 'LE' literal value.- See Also:
 
- 
EQ_VALUEpublic static final int EQ_VALUEThe 'EQ' literal value.- See Also:
 
- 
GE_VALUEpublic static final int GE_VALUEThe 'GE' literal value.- See Also:
 
- 
GT_VALUEpublic static final int GT_VALUEThe 'GT' literal value.- See Also:
 
- 
NE_VALUEpublic static final int NE_VALUEThe 'NE' literal value.- See Also:
 
- 
PLUS_VALUEpublic static final int PLUS_VALUEThe 'PLUS' literal value.- See Also:
 
- 
VALUESA public read-only list of all the 'Binary Operation' enumerators.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getReturns the 'Binary Operation' literal with the specified literal value.- Parameters:
- literal- the literal.
- Returns:
- the matching enumerator or null.
 
- 
getByNameReturns the 'Binary Operation' literal with the specified name.- Parameters:
- name- the name.
- Returns:
- the matching enumerator or null.
 
- 
getReturns the 'Binary Operation' literal with the specified integer value.- Parameters:
- value- the integer value.
- Returns:
- the matching enumerator or null.
 
- 
getValuepublic int getValue()- Specified by:
- getValuein interface- org.eclipse.emf.common.util.Enumerator
 
- 
getName- Specified by:
- getNamein interface- org.eclipse.emf.common.util.Enumerator
 
- 
getLiteral- Specified by:
- getLiteralin interface- org.eclipse.emf.common.util.Enumerator
 
- 
toStringReturns the literal value of the enumerator, which is its string representation.- Overrides:
- toStringin class- Enum<BinaryOperation>
 
 
-