butler.sql.filter
Class PrimaryKeySetFilter
java.lang.Object
butler.sql.filter.Filter
butler.sql.filter.PrimaryKeyFilter
butler.sql.filter.PrimaryKeySetFilter
public class PrimaryKeySetFilter
- extends PrimaryKeyFilter
Filter for columns in a primary key constraint with
multiple values for the primary key.
- Author:
- Sara Olsson
Method Summary |
Operator |
getOperator()
Returns operator if operators is used, otherwise returning null. |
java.lang.String |
getSQL()
|
static Filter |
parse(org.dom4j.Element element,
java.util.Map tableDictonary,
Filter rootQ)
|
void |
setOperator(Operator operator)
Sets the operator if operators is used |
void |
setSize(int count)
|
void |
toXML(org.xml.sax.ContentHandler handler)
|
Methods inherited from class butler.sql.filter.Filter |
and, copy, createId, equals, filter, getFilter, getId, getLeafFilters, getNestedQuery, getParamDatatypes, getValues, getValues, hashCode, modify, 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 |
PrimaryKeySetFilter
public PrimaryKeySetFilter(Record rec)
throws java.lang.Exception
- Throws:
java.lang.Exception
PrimaryKeySetFilter
public PrimaryKeySetFilter(Table tab)
throws java.lang.Exception
- Throws:
java.lang.Exception
PrimaryKeySetFilter
public PrimaryKeySetFilter(Table tab,
java.lang.String alias)
throws java.lang.Exception
- Throws:
java.lang.Exception
setOperator
public void setOperator(Operator operator)
- Description copied from class:
Filter
- Sets the operator if operators is used
- Overrides:
setOperator
in class PrimaryKeyFilter
getOperator
public Operator getOperator()
- Description copied from class:
Filter
- Returns operator if operators is used, otherwise returning null.
- Overrides:
getOperator
in class PrimaryKeyFilter
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 PrimaryKeyFilter
- Throws:
java.lang.Exception
parse
public static Filter parse(org.dom4j.Element element,
java.util.Map tableDictonary,
Filter rootQ)
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 PrimaryKeyFilter
- Throws:
java.lang.Exception