|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.revusky.niggle.data.RecordFilter.TypeConstraint
| Inner classes inherited from class com.revusky.niggle.data.RecordFilter |
RecordFilter.ClassConstraint, RecordFilter.FieldConstraint, RecordFilter.IntersectionFilter, RecordFilter.NegationFilter, RecordFilter.NullFilter, RecordFilter.TypeConstraint, RecordFilter.UnionFilter |
| Field Summary | |
java.lang.String |
type
|
| Fields inherited from interface com.revusky.niggle.data.RecordFilter |
NULL_FILTER |
| Constructor Summary | |
RecordFilter.TypeConstraint(java.lang.String type)
|
|
| Method Summary | |
boolean |
accept(Record rec)
The method that determines whether the record gets through the filter. |
java.lang.String |
sqlEquivalent()
Method that returns the SQL WHERE clause that is the equivalent of the unary predicate that this field represents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final java.lang.String type
| Constructor Detail |
public RecordFilter.TypeConstraint(java.lang.String type)
type - The type of record to accept| Method Detail |
public boolean accept(Record rec)
RecordFilteraccept in interface RecordFilterpublic java.lang.String sqlEquivalent()
RecordFiltersqlEquivalent in interface RecordFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||