|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.revusky.oreo.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 RecordFilter
public java.lang.String recType()
RecordFilter
recType
in interface RecordFilter
public java.lang.String sqlEquivalent()
sqlEquivalent
in interface RecordFilter
com.revusky.oreo.RecordFilter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |