public enum BinaryOperator extends java.lang.Enum<BinaryOperator> implements org.eclipse.emf.common.util.Enumerator
DatavaluePackage.getBinaryOperator()| Enum Constant and Description |
|---|
ADD
The 'ADD' literal object.
|
AND
The 'AND' literal object.
|
DIV
The 'DIV' literal object.
|
EQU
The 'EQU' literal object.
|
IOR
The 'IOR' literal object.
|
MAX
The 'MAX' literal object.
|
MIN
The 'MIN' literal object.
|
MUL
The 'MUL' literal object.
|
POW
The 'POW' literal object.
|
SUB
The 'SUB' literal object.
|
UNSET
The 'UNSET' literal object.
|
XOR
The 'XOR' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_VALUE
The 'ADD' literal value.
|
static int |
AND_VALUE
The 'AND' literal value.
|
static int |
DIV_VALUE
The 'DIV' literal value.
|
static int |
EQU_VALUE
The 'EQU' literal value.
|
static int |
IOR_VALUE
The 'IOR' literal value.
|
static int |
MAX_VALUE
The 'MAX' literal value.
|
static int |
MIN_VALUE
The 'MIN' literal value.
|
static int |
MUL_VALUE
The 'MUL' literal value.
|
static int |
POW_VALUE
The 'POW' literal value.
|
static int |
SUB_VALUE
The 'SUB' literal value.
|
static int |
UNSET_VALUE
The 'UNSET' literal value.
|
static java.util.List<BinaryOperator> |
VALUES
A public read-only list of all the 'Binary Operator' enumerators.
|
static int |
XOR_VALUE
The 'XOR' literal value.
|
| Modifier and Type | Method and Description |
|---|---|
static BinaryOperator |
get(int value)
Returns the 'Binary Operator' literal with the specified integer value.
|
static BinaryOperator |
get(java.lang.String literal)
Returns the 'Binary Operator' literal with the specified literal value.
|
static BinaryOperator |
getByName(java.lang.String name)
Returns the 'Binary Operator' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static BinaryOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperator UNSET
UNSET_VALUEpublic static final BinaryOperator ADD
ADD_VALUEpublic static final BinaryOperator MUL
MUL_VALUEpublic static final BinaryOperator SUB
SUB_VALUEpublic static final BinaryOperator DIV
DIV_VALUEpublic static final BinaryOperator POW
POW_VALUEpublic static final BinaryOperator MIN
MIN_VALUEpublic static final BinaryOperator MAX
MAX_VALUEpublic static final BinaryOperator EQU
EQU_VALUEpublic static final BinaryOperator IOR
IOR_VALUEpublic static final BinaryOperator XOR
XOR_VALUEpublic static final BinaryOperator AND
AND_VALUEpublic static final int UNSET_VALUE
If the meaning of 'UNSET' literal object isn't clear, there really should be more of a description here...
UNSET,
Constant Field Valuespublic static final int ADD_VALUE
If the meaning of 'ADD' literal object isn't clear, there really should be more of a description here...
ADD,
Constant Field Valuespublic static final int MUL_VALUE
If the meaning of 'MUL' literal object isn't clear, there really should be more of a description here...
MUL,
Constant Field Valuespublic static final int SUB_VALUE
If the meaning of 'SUB' literal object isn't clear, there really should be more of a description here...
SUB,
Constant Field Valuespublic static final int DIV_VALUE
If the meaning of 'DIV' literal object isn't clear, there really should be more of a description here...
DIV,
Constant Field Valuespublic static final int POW_VALUE
If the meaning of 'POW' literal object isn't clear, there really should be more of a description here...
POW,
Constant Field Valuespublic static final int MIN_VALUE
If the meaning of 'MIN' literal object isn't clear, there really should be more of a description here...
MIN,
Constant Field Valuespublic static final int MAX_VALUE
If the meaning of 'MAX' literal object isn't clear, there really should be more of a description here...
MAX,
Constant Field Valuespublic static final int EQU_VALUE
If the meaning of 'EQU' literal object isn't clear, there really should be more of a description here...
EQU,
Constant Field Valuespublic static final int IOR_VALUE
If the meaning of 'IOR' literal object isn't clear, there really should be more of a description here...
IOR,
Constant Field Valuespublic static final int XOR_VALUE
If the meaning of 'XOR' literal object isn't clear, there really should be more of a description here...
XOR,
Constant Field Valuespublic static final int AND_VALUE
If the meaning of 'AND' literal object isn't clear, there really should be more of a description here...
AND,
Constant Field Valuespublic static final java.util.List<BinaryOperator> VALUES
public static BinaryOperator[] values()
for (BinaryOperator c : BinaryOperator.values()) System.out.println(c);
public static BinaryOperator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static BinaryOperator get(java.lang.String literal)
literal - the literal.null.public static BinaryOperator getByName(java.lang.String name)
name - the name.null.public static BinaryOperator get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<BinaryOperator>