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 interfaceAstUnary.Operatorstatic classAstUnary.SimpleOperator 
- 
Field Summary
Fields Modifier and Type Field Description static AstUnary.OperatorEMPTYstatic AstUnary.OperatorNEGstatic AstUnary.OperatorNOT 
- 
Constructor Summary
Constructors Constructor Description AstUnary(AstNode child, AstUnary.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 childAstUnary.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
- 
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 java.lang.Object eval(Bindings bindings, ELContext context) throws ELException
- Specified by:
 evalin classAstNode- Throws:
 ELException
 
- 
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. 
 - 
 
 -