org.araneaframework.backend.list.memorybased.expression.logical
Class NotExpression

java.lang.Object
  extended byorg.araneaframework.backend.list.memorybased.expression.logical.NotExpression
All Implemented Interfaces:
CompositeExpression, Expression, Serializable

public class NotExpression
extends Object
implements CompositeExpression

See Also:
Serialized Form

Constructor Summary
NotExpression(Expression expr)
           
 
Method Summary
 Object evaluate(VariableResolver resolver)
          Evaluates this Expression by returning its value.
 Expression[] getChildren()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotExpression

public NotExpression(Expression expr)
Method Detail

getChildren

public Expression[] getChildren()
Specified by:
getChildren in interface CompositeExpression

evaluate

public Object evaluate(VariableResolver resolver)
                throws ExpressionEvaluationException
Description copied from interface: Expression
Evaluates this Expression by returning its value. The returned value may also be null.

Specified by:
evaluate in interface Expression
Parameters:
resolver - Resolver that is used to evalute Variables.
Returns:
the value of this Expression.
Throws:
ExpressionEvaluationException - when the evaluating fails.