Package com._1c.g5.v8.dt.bsl.model
Enum BinaryOperation
- java.lang.Object
-
- java.lang.Enum<BinaryOperation>
-
- com._1c.g5.v8.dt.bsl.model.BinaryOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<BinaryOperation>
,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:
BslPackage.getBinaryOperation()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
The 'AND' literal object.DIVIDE
The 'DIVIDE' literal object.EQ
The 'EQ' literal object.GE
The 'GE' literal object.GT
The 'GT' literal object.LE
The 'LE' literal object.LT
The 'LT' literal object.MINUS
The 'MINUS' literal object.MODULO
The 'MODULO' literal object.MULTIPLY
The 'MULTIPLY' literal object.NE
The 'NE' literal object.OR
The 'OR' literal object.PLUS
The 'PLUS' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AND_VALUE
The 'AND' literal value.static int
DIVIDE_VALUE
The 'DIVIDE' literal value.static int
EQ_VALUE
The 'EQ' literal value.static int
GE_VALUE
The 'GE' literal value.static int
GT_VALUE
The 'GT' literal value.static int
LE_VALUE
The 'LE' literal value.static int
LT_VALUE
The 'LT' literal value.static int
MINUS_VALUE
The 'MINUS' literal value.static int
MODULO_VALUE
The 'MODULO' literal value.static int
MULTIPLY_VALUE
The 'MULTIPLY' literal value.static int
NE_VALUE
The 'NE' literal value.static int
OR_VALUE
The 'OR' literal value.static int
PLUS_VALUE
The 'PLUS' literal value.static List<BinaryOperation>
VALUES
A public read-only list of all the 'Binary Operation' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BinaryOperation
get(int value)
Returns the 'Binary Operation' literal with the specified integer value.static BinaryOperation
get(String literal)
Returns the 'Binary Operation' literal with the specified literal value.static BinaryOperation
getByName(String name)
Returns the 'Binary Operation' 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 BinaryOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static BinaryOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OR
public static final BinaryOperation OR
The 'OR' literal object.- See Also:
OR_VALUE
-
AND
public static final BinaryOperation AND
The 'AND' literal object.- See Also:
AND_VALUE
-
LT
public static final BinaryOperation LT
The 'LT' literal object.- See Also:
LT_VALUE
-
LE
public static final BinaryOperation LE
The 'LE' literal object.- See Also:
LE_VALUE
-
EQ
public static final BinaryOperation EQ
The 'EQ' literal object.- See Also:
EQ_VALUE
-
GE
public static final BinaryOperation GE
The 'GE' literal object.- See Also:
GE_VALUE
-
GT
public static final BinaryOperation GT
The 'GT' literal object.- See Also:
GT_VALUE
-
NE
public static final BinaryOperation NE
The 'NE' literal object.- See Also:
NE_VALUE
-
PLUS
public static final BinaryOperation PLUS
The 'PLUS' literal object.- See Also:
PLUS_VALUE
-
MINUS
public static final BinaryOperation MINUS
The 'MINUS' literal object.- See Also:
MINUS_VALUE
-
MULTIPLY
public static final BinaryOperation MULTIPLY
The 'MULTIPLY' literal object.- See Also:
MULTIPLY_VALUE
-
DIVIDE
public static final BinaryOperation DIVIDE
The 'DIVIDE' literal object.- See Also:
DIVIDE_VALUE
-
MODULO
public static final BinaryOperation MODULO
The 'MODULO' literal object.- See Also:
MODULO_VALUE
-
-
Field Detail
-
OR_VALUE
public static final int OR_VALUE
The 'OR' literal value.- See Also:
OR
, Constant Field Values
-
AND_VALUE
public static final int AND_VALUE
The 'AND' literal value.- See Also:
AND
, Constant Field Values
-
LT_VALUE
public static final int LT_VALUE
The 'LT' literal value.- See Also:
LT
, Constant Field Values
-
LE_VALUE
public static final int LE_VALUE
The 'LE' literal value.- See Also:
LE
, Constant Field Values
-
EQ_VALUE
public static final int EQ_VALUE
The 'EQ' literal value.- See Also:
EQ
, Constant Field Values
-
GE_VALUE
public static final int GE_VALUE
The 'GE' literal value.- See Also:
GE
, Constant Field Values
-
GT_VALUE
public static final int GT_VALUE
The 'GT' literal value.- See Also:
GT
, Constant Field Values
-
NE_VALUE
public static final int NE_VALUE
The 'NE' literal value.- See Also:
NE
, Constant Field Values
-
PLUS_VALUE
public static final int PLUS_VALUE
The 'PLUS' literal value.- See Also:
PLUS
, Constant Field Values
-
MINUS_VALUE
public static final int MINUS_VALUE
The 'MINUS' literal value.- See Also:
MINUS
, Constant Field Values
-
MULTIPLY_VALUE
public static final int MULTIPLY_VALUE
The 'MULTIPLY' literal value.- See Also:
MULTIPLY
, Constant Field Values
-
DIVIDE_VALUE
public static final int DIVIDE_VALUE
The 'DIVIDE' literal value.- See Also:
DIVIDE
, Constant Field Values
-
MODULO_VALUE
public static final int MODULO_VALUE
The 'MODULO' literal value.- See Also:
MODULO
, Constant Field Values
-
VALUES
public static final List<BinaryOperation> VALUES
A public read-only list of all the 'Binary Operation' enumerators.
-
-
Method Detail
-
values
public static BinaryOperation[] 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 (BinaryOperation c : BinaryOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinaryOperation 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 BinaryOperation get(String literal)
Returns the 'Binary Operation' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static BinaryOperation getByName(String name)
Returns the 'Binary Operation' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static BinaryOperation get(int value)
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
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<BinaryOperation>
-
-