butler.sql.filter
Class NotFilter

java.lang.Object
  extended by butler.sql.filter.Filter
      extended by butler.sql.filter.RecursiveFilter
          extended by butler.sql.filter.NotFilter
Direct Known Subclasses:
Not

public class NotFilter
extends RecursiveFilter

Author:
Fredrik Bertilsson

Field Summary
 
Fields inherited from class butler.sql.filter.RecursiveFilter
_childFilters, _operator
 
Constructor Summary
NotFilter()
           
NotFilter(Filter filter)
           
 
Method Summary
 Filter copy()
           
 boolean filter(Record rec)
           
 java.lang.String getSQL()
           
static Filter parse(org.dom4j.Element element, java.util.Map tableDictonary)
           
 void toXML(org.xml.sax.ContentHandler handler)
           
 
Methods inherited from class butler.sql.filter.RecursiveFilter
addChildFilter, copy, createId, getChildren, getFilter, getFilterA, getFilterB, getLeafFilters, getValues, modify, parse2, replaceChild, reset
 
Methods inherited from class butler.sql.filter.Filter
and, equals, getCaption, getId, getNestedQuery, getOperator, getParamDatatypes, 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

NotFilter

public NotFilter(Filter filter)

NotFilter

public NotFilter()
Method Detail

getSQL

public java.lang.String getSQL()
                        throws java.lang.Exception
Overrides:
getSQL in class RecursiveFilter
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

copy

public Filter copy()
            throws java.lang.Exception
Overrides:
copy in class Filter
Throws:
java.lang.Exception

filter

public boolean filter(Record rec)
               throws java.lang.Exception
Overrides:
filter in class Filter
Throws:
java.lang.Exception

toXML

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