Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.presumo.jms.selector
Class JmsNot  view JmsNot download JmsNot.java

java.lang.Object
  extended bycom.presumo.jms.selector.JmsOperand
      extended bycom.presumo.jms.selector.JmsNot

final class JmsNot
extends JmsOperand

Expression node to represent SQL Not operation.


Field Summary
private  JmsOperand child
           
 
Fields inherited from class com.presumo.jms.selector.JmsOperand
evalNumber, JMS_BINARY_ADD, JMS_BINARY_AND, JMS_BINARY_DIV, JMS_BINARY_MULT, JMS_BINARY_OR, JMS_BINARY_SUB, JMS_BOOLEAN_LITERAL, JMS_EQUALS, JMS_FLOAT_LITERAL, JMS_GREATER, JMS_IDENTIFIER, JMS_INTEGER_LITERAL, JMS_IS, JMS_LESS, JMS_LIKE, JMS_NOT, JMS_STRING_LITERAL, lastEval, myEvalNumber, parents, refcount
 
Constructor Summary
protected JmsNot(JmsOperand child)
           
 
Method Summary
protected  void delete(JmsOperand parent)
           
(package private)  JmsOperand evaluate(javax.jms.Message msg)
          Evaluates the expression tree represented by this node.
(package private) static JmsNot getInstance(JmsOperand child)
           
(package private)  short getType()
           
(package private)  void printTree(int level)
           
(package private)  java.lang.String unParse()
          Returns a String representing the SQL form of the filter which is logically equivilant.
 
Methods inherited from class com.presumo.jms.selector.JmsOperand
addParent, addParentRef, allParents, delete, evaluateOnce, getAllInstances, hasParent, incrementAllRefCounts, incrementRefCount, numberOfParents, removeParent, resetStoredEvals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

child

private JmsOperand child
Constructor Detail

JmsNot

protected JmsNot(JmsOperand child)
Method Detail

getInstance

static final JmsNot getInstance(JmsOperand child)

evaluate

final JmsOperand evaluate(javax.jms.Message msg)
                   throws SelectorFalseException
Description copied from class: JmsOperand
Evaluates the expression tree represented by this node.

Specified by:
evaluate in class JmsOperand

unParse

final java.lang.String unParse()
Description copied from class: JmsOperand
Returns a String representing the SQL form of the filter which is logically equivilant.

Specified by:
unParse in class JmsOperand

getType

short getType()
Specified by:
getType in class JmsOperand

printTree

void printTree(int level)
Overrides:
printTree in class JmsOperand

delete

protected void delete(JmsOperand parent)
Overrides:
delete in class JmsOperand