net.sourceforge.floggy.persistence
Interface Filter
public interface Filter
An interface defining a filter which examines a object to see if it matches
(based on an application-defined criteria). The application implements the
match(Persistable object)
method to select objects. Returns
true if the candidate record is selected by the RecordFilter. This interface
is used in the record store for searching or subsetting records.
- Since:
- 1.0
- See Also:
PersistableManager.find(Class, Filter, Comparator)
,
Comparator
Method Summary |
boolean |
matches(Persistable o)
Returns true if the candidate object matches the implemented
criterion. |
matches
boolean matches(Persistable o)
- Returns true if the candidate object matches the implemented
criterion.
- Parameters:
o
- The candidate object.
- Returns:
- True if the candidate object matches the implemented criterion.
Copyright © 2006-2011 Floggy Open Source Group. All Rights Reserved.