butler.sql.filter
Class ForeignKeySetFilter
java.lang.Object
butler.sql.filter.Filter
butler.sql.filter.ForeignKeyFilter
butler.sql.filter.ForeignKeySetFilter
public class ForeignKeySetFilter
- extends ForeignKeyFilter
Filter for columns in a forein key constraint with
multiple values for the foreign key.
- Author:
- Fredrik Bertilsson
Methods inherited from class butler.sql.filter.Filter |
and, copy, createId, equals, filter, getFilter, getId, getLeafFilters, getNestedQuery, getValues, hashCode, not, or, parseFilter, registerFilterParser, setCaption, setId, setSize, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ForeignKeySetFilter
public ForeignKeySetFilter(ForeignKey fk)
throws java.lang.Exception
- Throws:
java.lang.Exception
ForeignKeySetFilter
public ForeignKeySetFilter(ForeignKey fk,
java.lang.String alias)
throws java.lang.Exception
- Throws:
java.lang.Exception
setSize
public void setSize(int count)
- Overrides:
setSize
in class Filter
getSQL
public java.lang.String getSQL()
throws java.lang.Exception
- Overrides:
getSQL
in class ForeignKeyFilter
- 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
toXML
public void toXML(org.xml.sax.ContentHandler handler)
throws java.lang.Exception
- Overrides:
toXML
in class ForeignKeyFilter
- Throws:
java.lang.Exception
modify
public Filter modify(QueryParams params)
throws java.lang.Exception
- Overrides:
modify
in class Filter
- Throws:
java.lang.Exception
params2db
public java.util.List params2db(java.util.List params)
throws java.lang.Exception
- Overrides:
params2db
in class ForeignKeyFilter
- Throws:
java.lang.Exception