|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--planetj.database.filter.GenericRowFilter
|
+--planetj.database.filter.BasicRowFilter
A Filter for filtering Row objects. This filter works by comparing one of the Row's fields with an object.
| Field Summary |
| Fields inherited from interface planetj.util.IFilter |
COMPARISON_CONVERSION, CONTAINS, ENDS_WITH, EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, STARTS_WITH |
| Constructor Summary | |
BasicRowFilter(String pFieldName,
int pComparison,
Object pFilterValue)
Creates a new RowFilter |
|
| Method Summary | |
String |
getFieldName()
Identifies the field within the row that will be examined |
int |
getFilterComparison()
Gets the type of comparison that will take place |
Object |
getFilterValue()
Gets the value that the field's value will be compared to |
boolean |
meetsCriteria(Object o)
Returns true if the object meets this filter's criteria. |
boolean |
meetsFieldCriteria(Row row)
|
String |
toString()
|
| Methods inherited from class planetj.database.filter.GenericRowFilter |
getFilteredRowCount, getRowCollectionClass, setRowCollectionClass |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BasicRowFilter(String pFieldName,
int pComparison,
Object pFilterValue)
| Method Detail |
public String getFieldName()
public int getFilterComparison()
public Object getFilterValue()
public boolean meetsCriteria(Object o)
throws CMException
meetsCriteria in interface IFilterCMException
public boolean meetsFieldCriteria(Row row)
throws CMException
CMExceptionpublic String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||