vishnu.parser.expressions
Class SQLNotOperator

java.lang.Object
  extended by vishnu.parser.expressions.SQLNotOperator
All Implemented Interfaces:
SQLOperand

public class SQLNotOperator
extends java.lang.Object
implements SQLOperand

Este operador modela la negacion de un valor booleano.

Author:
Hernan Rancati
 

Constructor Summary
SQLNotOperator(SQLOperand booleanOperand)
           
 
Method Summary
 boolean equals(SQLOperand o)
           
 Value evaluate(Record r)
          evalua el resultado de la expresion representada por este operador sobre el registro r.
 int hashCode()
           
 SQLOperand operand()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLNotOperator

public SQLNotOperator(SQLOperand booleanOperand)
Method Detail

operand

public SQLOperand operand()

evaluate

public Value evaluate(Record r)
Description copied from interface: SQLOperand
evalua el resultado de la expresion representada por este operador sobre el registro r.

Specified by:
evaluate in interface SQLOperand

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(SQLOperand o)
Specified by:
equals in interface SQLOperand

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object