butler.sql.filter
Class EqualsFilter
java.lang.Object
butler.sql.filter.Filter
butler.sql.filter.SimpleFilter
butler.sql.filter.EqualsFilter
- Direct Known Subclasses:
- Eq
public class EqualsFilter
- extends SimpleFilter
Filter that checks if a column is equal to a given value
- Author:
- Fredrik Bertilsson
Methods inherited from class butler.sql.filter.SimpleFilter |
filter, getAlias, getCaption, getColumn, getOperator, getParamDatatypes, getSQL, getValue, getValues, params2db, populate, setIgnoreCase, setOperator, setValue, toXML |
Methods inherited from class butler.sql.filter.Filter |
and, copy, createId, equals, getFilter, getId, getLeafFilters, getNestedQuery, getValues, hashCode, modify, not, or, parseFilter, registerFilterParser, setCaption, setId, setSize, setSize, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
EqualsFilter
public EqualsFilter(Column col)
throws java.lang.Exception
- Throws:
java.lang.Exception
EqualsFilter
public EqualsFilter(Column col,
java.lang.Object value)
throws java.lang.Exception
- Throws:
java.lang.Exception
EqualsFilter
public EqualsFilter(java.lang.String alias,
Column col)
throws java.lang.Exception
- Throws:
java.lang.Exception
EqualsFilter
public EqualsFilter(java.lang.String alias,
Column col,
java.lang.Object value)
throws java.lang.Exception
- Throws:
java.lang.Exception
EqualsFilter
public EqualsFilter(java.lang.String alias,
Column col,
java.lang.String alias2,
Column col2)
throws java.lang.Exception
- Throws:
java.lang.Exception
getXMLFilterName
protected java.lang.String getXMLFilterName()
- Overrides:
getXMLFilterName
in class SimpleFilter
parse
public static SimpleFilter parse(org.dom4j.Element element,
java.util.Map tableDictonary)
throws java.lang.Exception
- Throws:
java.lang.Exception