butler.sql.filter
Class BooleanFilter

java.lang.Object
  extended by butler.sql.filter.Filter
      extended by butler.sql.filter.BooleanFilter

public class BooleanFilter
extends Filter

Filter for checking if a value is null.

Author:
Fredrik Bertilsson

Constructor Summary
BooleanFilter(Column column)
           
BooleanFilter(java.lang.String alias, Column column)
           
 
Method Summary
 Column getColumn()
           
 java.lang.String getSQL()
           
 Filter modify(QueryParams params)
           
static Filter parse(org.dom4j.Element element, java.util.Map tableDictonary)
           
static Filter parse(org.dom4j.Element element, Query q, Query rootQ)
           
 void toXML(org.xml.sax.ContentHandler handler)
           
 
Methods inherited from class butler.sql.filter.Filter
and, copy, createId, equals, filter, getCaption, getFilter, getId, getLeafFilters, getNestedQuery, getOperator, getParamDatatypes, getValues, getValues, hashCode, not, or, params2db, parseFilter, registerFilterParser, setCaption, setId, setOperator, setSize, setSize, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanFilter

public BooleanFilter(Column column)

BooleanFilter

public BooleanFilter(java.lang.String alias,
                     Column column)
Method Detail

getSQL

public java.lang.String getSQL()
Overrides:
getSQL in class Filter

getColumn

public Column getColumn()

toXML

public void toXML(org.xml.sax.ContentHandler handler)
           throws java.lang.Exception
Overrides:
toXML in class Filter
Throws:
java.lang.Exception

parse

public static Filter parse(org.dom4j.Element element,
                           Query q,
                           Query rootQ)
                    throws java.lang.Exception
Throws:
java.lang.Exception

parse

public static Filter parse(org.dom4j.Element element,
                           java.util.Map tableDictonary)
                    throws java.lang.Exception
Throws:
java.lang.Exception

modify

public Filter modify(QueryParams params)
              throws java.lang.Exception
Overrides:
modify in class Filter
Throws:
java.lang.Exception