net.sourceforge.nite.search.rewriter
Class SimpleQueryCreator

java.lang.Object
  extended by net.sourceforge.nite.search.rewriter.SimpleQueryCreator
All Implemented Interfaces:
ParserTreeConstants

public class SimpleQueryCreator
extends java.lang.Object
implements ParserTreeConstants

A class which creates SimpleQueries from DeclarableVariables and MinimalConditions.

NOTE: Currently the class requires instantiation with a hash of DeclarableVariables (with the variable names as keys), and a list of MinimalConditions. It may be desirable to operate without knowledge of these objects.


Field Summary
 
Fields inherited from interface net.sourceforge.nite.search.ParserTreeConstants
JJTCONDITION, JJTLOGICAL, jjtNodeName, JJTQUERY, JJTSIMPLEQUERY
 
Constructor Summary
SimpleQueryCreator(java.util.Hashtable variables, java.util.List conditions)
          Create a new SimpleQueryCreator with a set of variables and a set of conditions.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleQueryCreator

public SimpleQueryCreator(java.util.Hashtable variables,
                          java.util.List conditions)
Create a new SimpleQueryCreator with a set of variables and a set of conditions.

Parameters:
variables - Hashtable mapping names to DeclarableVariables
conditions - list of MinimalConditions