|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.oreodata.predicates.TypeFilter
A simple RecordFilter implementation that simply makes sure that a record is of a given type.
| Constructor Summary | |
TypeFilter(java.lang.String recType)
|
|
| Method Summary | |
boolean |
accept(Record rec)
Does this record meet the filter criterion? |
java.lang.String |
recType()
says what kind of record type we are looking for, i.e. |
java.lang.String |
sqlEquivalent()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TypeFilter(java.lang.String recType)
| Method Detail |
public boolean accept(Record rec)
RecordFilter
accept in interface RecordFilterpublic java.lang.String recType()
RecordFilter
recType in interface RecordFilterpublic java.lang.String sqlEquivalent()
sqlEquivalent in interface RecordFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||