public class DataEntryParentFilter extends java.lang.Object implements DataEntryFilter
DataEntryFilter
delegates filtering to a DataEntryFilter
for its parent.Constructor and Description |
---|
DataEntryParentFilter(DataEntryFilter dataEntryFilter)
Creates a new ParentFilter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(DataEntry dataEntry)
Checks whether the filter accepts the given data entry.
|
public DataEntryParentFilter(DataEntryFilter dataEntryFilter)
dataEntryFilter
- the filter that will be applied to the data entry's parent.public boolean accepts(DataEntry dataEntry)
DataEntryFilter
accepts
in interface DataEntryFilter
dataEntry
- the data entry to filter.