Package org.camunda.bpm.engine.impl.juel
Class AstUnary
- java.lang.Object
-
- org.camunda.bpm.engine.impl.juel.AstNode
-
- org.camunda.bpm.engine.impl.juel.AstRightValue
-
- org.camunda.bpm.engine.impl.juel.AstUnary
-
- All Implemented Interfaces:
ExpressionNode
,Node
public class AstUnary extends AstRightValue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AstUnary.Operator
static class
AstUnary.SimpleOperator
-
Field Summary
Fields Modifier and Type Field Description static AstUnary.Operator
EMPTY
static AstUnary.Operator
NEG
static AstUnary.Operator
NOT
-
Constructor Summary
Constructors Constructor Description AstUnary(AstNode child, AstUnary.Operator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendStructure(StringBuilder b, Bindings bindings)
Object
eval(Bindings bindings, ELContext context)
int
getCardinality()
Get the node's number of children.AstNode
getChild(int i)
Get i'th childAstUnary.Operator
getOperator()
String
toString()
-
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
-
EMPTY
public static final AstUnary.Operator EMPTY
-
NEG
public static final AstUnary.Operator NEG
-
NOT
public static final AstUnary.Operator NOT
-
-
Constructor Detail
-
AstUnary
public AstUnary(AstNode child, AstUnary.Operator operator)
-
-
Method Detail
-
getOperator
public AstUnary.Operator getOperator()
-
eval
public Object eval(Bindings bindings, ELContext context) throws ELException
- Specified by:
eval
in classAstNode
- Throws:
ELException
-
appendStructure
public void appendStructure(StringBuilder b, Bindings bindings)
- Specified by:
appendStructure
in classAstNode
-
getCardinality
public int getCardinality()
Description copied from interface:Node
Get the node's number of children.
-
-