Package org.camunda.bpm.engine.impl.juel
Class AstBinary
- java.lang.Object
-
- org.camunda.bpm.engine.impl.juel.AstNode
-
- org.camunda.bpm.engine.impl.juel.AstRightValue
-
- org.camunda.bpm.engine.impl.juel.AstBinary
-
- All Implemented Interfaces:
ExpressionNode,Node
public class AstBinary extends AstRightValue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAstBinary.Operatorstatic classAstBinary.SimpleOperator
-
Field Summary
Fields Modifier and Type Field Description static AstBinary.OperatorADDstatic AstBinary.OperatorANDstatic AstBinary.OperatorDIVstatic AstBinary.OperatorEQstatic AstBinary.OperatorGEstatic AstBinary.OperatorGTstatic AstBinary.OperatorLEstatic AstBinary.OperatorLTstatic AstBinary.OperatorMODstatic AstBinary.OperatorMULstatic AstBinary.OperatorNEstatic AstBinary.OperatorORstatic AstBinary.OperatorSUB
-
Constructor Summary
Constructors Constructor Description AstBinary(AstNode left, AstNode right, AstBinary.Operator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendStructure(java.lang.StringBuilder b, Bindings bindings)java.lang.Objecteval(Bindings bindings, ELContext context)intgetCardinality()Get the node's number of children.AstNodegetChild(int i)Get i'th childAstBinary.OperatorgetOperator()java.lang.StringtoString()-
Methods inherited from class org.camunda.bpm.engine.impl.juel.AstRightValue
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
-
Methods inherited from class org.camunda.bpm.engine.impl.juel.AstNode
getStructuralId, getValue
-
-
-
-
Field Detail
-
ADD
public static final AstBinary.Operator ADD
-
AND
public static final AstBinary.Operator AND
-
DIV
public static final AstBinary.Operator DIV
-
EQ
public static final AstBinary.Operator EQ
-
GE
public static final AstBinary.Operator GE
-
GT
public static final AstBinary.Operator GT
-
LE
public static final AstBinary.Operator LE
-
LT
public static final AstBinary.Operator LT
-
MOD
public static final AstBinary.Operator MOD
-
MUL
public static final AstBinary.Operator MUL
-
NE
public static final AstBinary.Operator NE
-
OR
public static final AstBinary.Operator OR
-
SUB
public static final AstBinary.Operator SUB
-
-
Constructor Detail
-
AstBinary
public AstBinary(AstNode left, AstNode right, AstBinary.Operator operator)
-
-
Method Detail
-
getOperator
public AstBinary.Operator getOperator()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
appendStructure
public void appendStructure(java.lang.StringBuilder b, Bindings bindings)- Specified by:
appendStructurein classAstNode
-
getCardinality
public int getCardinality()
Description copied from interface:NodeGet the node's number of children.
-
-