org.usergrid.persistence.query.ir
Class NotNode

java.lang.Object
  extended by org.usergrid.persistence.query.ir.QueryNode
      extended by org.usergrid.persistence.query.ir.NotNode

public class NotNode
extends QueryNode

Author:
tnine

Field Summary
protected  QueryNode allNode
           
protected  QueryNode child
           
 
Constructor Summary
NotNode(QueryNode child, QueryNode allNode)
           
 
Method Summary
 QueryNode getAllNode()
           
 QueryNode getChild()
           
 String toString()
           
 void visit(NodeVisitor visitor)
          Visit this node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

child

protected QueryNode child

allNode

protected QueryNode allNode
Constructor Detail

NotNode

public NotNode(QueryNode child,
               QueryNode allNode)
Parameters:
child -
allNode - may be null if there are parents to this
Method Detail

getChild

public QueryNode getChild()
Returns:
the child

getAllNode

public QueryNode getAllNode()
Returns:
the all

visit

public void visit(NodeVisitor visitor)
           throws Exception
Description copied from class: QueryNode
Visit this node

Specified by:
visit in class QueryNode
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.