wt.epm.query
Class QueryNodes.BinaryConditionNode

java.lang.Object
  extended bywt.epm.query.QueryNodes.Node
      extended bywt.epm.query.QueryNodes.ConditionNode
          extended bywt.epm.query.QueryNodes.BinaryConditionNode
Enclosing class:
QueryNodes

static class QueryNodes.BinaryConditionNode
extends QueryNodes.ConditionNode


Field Summary
private  QueryNodes.ConditionNode left
           
private  LogicalOperator operation
           
private  QueryNodes.ConditionNode right
           
 
Constructor Summary
(package private) QueryNodes.BinaryConditionNode(QueryNodes.ParserScope parserScope, LogicalOperator operation, QueryNodes.ConditionNode left, QueryNodes.ConditionNode right)
           
 
Method Summary
protected static void appendJoint(QueryNodes.QueryScope scope, QueryNodes.ClassNode source, String sourceAttribute, QueryNodes.ClassNode target)
           
protected static void appendJoint(QueryNodes.QueryScope scope, QueryNodes.ClassNode source, String sourceAttribute, QueryNodes.ClassNode target, int outerJoint)
           
protected static void appendOpionalAnd(QueryNodes.QueryScope scope)
           
protected static void dump(Collection collection, PrintStream out, QueryNodes.Shift shift)
           
(package private)  void dump(PrintStream out, QueryNodes.Shift shift)
           
protected static void dump(QueryNodes.Node node, PrintStream out, QueryNodes.Shift shift)
           
protected static void dump(String prefix, Collection collection, PrintStream out, QueryNodes.Shift shift)
           
protected static void dump(String prefix, QueryNodes.Node node, PrintStream out, QueryNodes.Shift shift)
           
protected static void generate(Collection collection, QueryNodes.QueryScope scope)
           
protected static void generate(QueryNodes.GeneratableNode node, QueryNodes.QueryScope scope)
           
protected  WhereExpression getConditionExpression(QueryNodes.QueryScope scope)
           
protected  String getShortClassName()
           
protected  String getTitle(QueryNodes.Shift shift)
           
protected  void register(QueryNodes.ParserScope parserScope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operation

private LogicalOperator operation

left

private QueryNodes.ConditionNode left

right

private QueryNodes.ConditionNode right
Constructor Detail

QueryNodes.BinaryConditionNode

QueryNodes.BinaryConditionNode(QueryNodes.ParserScope parserScope,
                               LogicalOperator operation,
                               QueryNodes.ConditionNode left,
                               QueryNodes.ConditionNode right)
                         throws QueryException
Method Detail

dump

void dump(PrintStream out,
          QueryNodes.Shift shift)
Overrides:
dump in class QueryNodes.Node

getConditionExpression

protected WhereExpression getConditionExpression(QueryNodes.QueryScope scope)
                                          throws WTException
Specified by:
getConditionExpression in class QueryNodes.ConditionNode
Throws:
WTException

register

protected void register(QueryNodes.ParserScope parserScope)
                 throws QueryException
Throws:
QueryException

getTitle

protected String getTitle(QueryNodes.Shift shift)

getShortClassName

protected String getShortClassName()

dump

protected static void dump(QueryNodes.Node node,
                           PrintStream out,
                           QueryNodes.Shift shift)

dump

protected static void dump(String prefix,
                           QueryNodes.Node node,
                           PrintStream out,
                           QueryNodes.Shift shift)

dump

protected static void dump(Collection collection,
                           PrintStream out,
                           QueryNodes.Shift shift)

dump

protected static void dump(String prefix,
                           Collection collection,
                           PrintStream out,
                           QueryNodes.Shift shift)

generate

protected static void generate(QueryNodes.GeneratableNode node,
                               QueryNodes.QueryScope scope)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

generate

protected static void generate(Collection collection,
                               QueryNodes.QueryScope scope)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

appendOpionalAnd

protected static void appendOpionalAnd(QueryNodes.QueryScope scope)

appendJoint

protected static void appendJoint(QueryNodes.QueryScope scope,
                                  QueryNodes.ClassNode source,
                                  String sourceAttribute,
                                  QueryNodes.ClassNode target)
                           throws WTException
Throws:
WTException

appendJoint

protected static void appendJoint(QueryNodes.QueryScope scope,
                                  QueryNodes.ClassNode source,
                                  String sourceAttribute,
                                  QueryNodes.ClassNode target,
                                  int outerJoint)
                           throws WTException
Throws:
WTException