wt.epm.query
Class QueryNodes.QueryRootNode

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

static class QueryNodes.QueryRootNode
extends QueryNodes.Node


Field Summary
private  QueryNodes.ConfigSpecNode configSpec
           
private  QueryNodes.SelectNode select
           
 
Constructor Summary
(package private) QueryNodes.QueryRootNode(QueryNodes.ParserScope parserScope, QueryNodes.SelectNode select, QueryNodes.ConfigSpecNode configSpec)
           
 
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)
           
(package private)  int checkSelectIndex(String name)
           
(package private)  boolean containsParameter(String name)
           
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)
           
(package private)  QueryNodes.QueryScope generate(QueryNodes.QueryContext context)
           
(package private)  QueryNodes.ConfigSpecNode getConfigSpec()
           
(package private)  Collection getParameterNames()
           
(package private)  QueryNodes.ParameterNode getParameterNode(String name)
           
(package private)  QueryNodes.ParserContext getParserContext()
           
(package private)  int getSelectIndex(String name)
           
protected  String getShortClassName()
           
protected  String getTitle(QueryNodes.Shift shift)
           
(package private)  boolean isChunkingAvialable()
           
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

select

private QueryNodes.SelectNode select

configSpec

private QueryNodes.ConfigSpecNode configSpec
Constructor Detail

QueryNodes.QueryRootNode

QueryNodes.QueryRootNode(QueryNodes.ParserScope parserScope,
                         QueryNodes.SelectNode select,
                         QueryNodes.ConfigSpecNode configSpec)
                   throws QueryException
Method Detail

getParserContext

QueryNodes.ParserContext getParserContext()

getConfigSpec

QueryNodes.ConfigSpecNode getConfigSpec()

checkSelectIndex

int checkSelectIndex(String name)
               throws QueryException
Throws:
QueryException

getSelectIndex

int getSelectIndex(String name)

containsParameter

boolean containsParameter(String name)

getParameterNames

Collection getParameterNames()

getParameterNode

QueryNodes.ParameterNode getParameterNode(String name)

isChunkingAvialable

boolean isChunkingAvialable()

dump

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

generate

QueryNodes.QueryScope generate(QueryNodes.QueryContext context)
                         throws WTException
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