|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jcreme.filters.BaseReportFilter
org.jcreme.filters.ORFilter
This implementation of the ReportFilter interface enables to combine a number of other ReportFilter with OR logic operators. This means that a value tested through this filter would have to qualify for one component filter.
| Field Summary | |
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
ORFilter(ReportFilter[] filters)
Creates new ORFilter |
|
ORFilter(ReportFilter firstFilter,
ReportFilter secondFilter)
Creates a binary ORFilter |
|
| Method Summary | |
boolean |
accept(java.lang.Object obj)
This is the actual filtering method. |
java.lang.Object |
clone()
This method clones this filter and the resulting ORFilter has the component filters clones as components. |
ReportFilter[] |
getFilters()
This method gives access to the filters combined by this ORFilter. |
| Methods inherited from class org.jcreme.filters.BaseReportFilter |
addFilterChangeListener, buildEvent, filtersAreEqual, filtersAreEqual, fireFilterChangeEvent, removeFilterChangeListener |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
| Constructor Detail |
public ORFilter(ReportFilter[] filters)
filters - the filters combined by this ORFilter.
public ORFilter(ReportFilter firstFilter,
ReportFilter secondFilter)
firstFilter - the first filter in the pair.secondFilter - the second filter in the pair.| Method Detail |
public boolean accept(java.lang.Object obj)
obj - the Object to Filter.
public ReportFilter[] getFilters()
public java.lang.Object clone()
clone in interface Filterclone in class BaseReportFilter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||