com.martiansoftware.trivialpersist.helpers
Class FieldEqualsFilter
java.lang.Object
com.martiansoftware.trivialpersist.helpers.FieldEqualsFilter
- All Implemented Interfaces:
- RecordFilter
- public class FieldEqualsFilter
- extends Object
- implements RecordFilter
- Author:
- mlamb
Method Summary |
boolean |
accept(Record r)
Returns true iff the specified record should be included in the
current table select. |
FieldEqualsFilter
public FieldEqualsFilter(String fieldName,
Object value)
accept
public boolean accept(Record r)
- Description copied from interface:
RecordFilter
- Returns true iff the specified record should be included in the
current table select.
- Specified by:
accept
in interface RecordFilter
- Parameters:
r
- the record to check
- Returns:
- true iff the specified record should be included in the
current table select.
Copyright © 2004, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/trivialpersist