|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.filter.Expression
Class to handle multiple filters.
Field Summary | |
static int |
AND
Takes the logical AND of the two filters. |
static int |
OR
Takes the logical OR of the two filters. |
Constructor Summary | |
Expression()
Creates new Expression for use with the set node method only. |
|
Expression(Filter inFilter1,
int inComparison,
Filter inFilter2)
Creates new Expression |
Method Summary | |
boolean |
contains(Record inRecord)
Determines if this record should or should not be returned as part of the resulting dataset. |
int |
getComparison()
Return the comparison to perform on the two filters. |
Filter |
getFilter1()
Return the first filter. |
Filter |
getFilter2()
Return the second filter. |
java.lang.String |
getFilterName()
Get the name for this filter. |
Node |
getNode()
Get the configuration information for the filter. |
void |
setFilterName(java.lang.String inFilterName)
Set the name for this filter. |
void |
setNode(Node inNode)
Set the configuration information in the filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int AND
public static final int OR
Constructor Detail |
public Expression()
public Expression(Filter inFilter1, int inComparison, Filter inFilter2)
Method Detail |
public void setFilterName(java.lang.String inFilterName)
public java.lang.String getFilterName()
getFilterName
in interface Filter
public Filter getFilter1()
public int getComparison()
public Filter getFilter2()
public boolean contains(Record inRecord)
Returns True if the record should be included, and returns False if it should not.
contains
in interface Filter
public Node getNode()
getNode
in interface Filter
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface Filter
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |