org.objectweb.medor.filter.lib
Class IsNull
java.lang.Object
BasicUnaryOperator
org.objectweb.medor.filter.lib.IsNull
- public class IsNull
- extends BasicUnaryOperator
IsNull operates on an Expression. Its evaluation returns true if the
Expression is null, false otherwise.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsNull
public IsNull()
IsNull
public IsNull(Expression e)
IsNull
public IsNull(Expression e,
boolean not)
clone
public java.lang.Object clone(java.lang.Object clone,
java.util.Map obj2clone)
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
setNot
public void setNot(boolean not)
getNot
public boolean getNot()
evaluate
public org.objectweb.medor.expression.api.Operand evaluate(ParameterOperand[] pos,
java.lang.Object o)
throws ExpressionException
- Throws:
ExpressionException
evaluate
public boolean evaluate(java.lang.Object op)
compileExpression
public Operand compileExpression()
throws ExpressionException,
MalformedExpressionException
- Throws:
ExpressionException
MalformedExpressionException
getOperatorString
public java.lang.String getOperatorString()