planetj.database.filter
Class GenericRowFilter

java.lang.Object
  |
  +--planetj.database.filter.GenericRowFilter
All Implemented Interfaces:
IFilter
Direct Known Subclasses:
BasicRowFilter

public abstract class GenericRowFilter
extends Object
implements IFilter

A Filter for filtering Row objects.


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
GenericRowFilter()
           
 
Method Summary
 int getFilteredRowCount()
          Gets the number of rows that should be in RowCollections created with this filter.
 Class getRowCollectionClass()
          Gets the type of RowCollection that will be used to contain rows filtered by this object.
 void setRowCollectionClass(Class newRowCollectionClass)
          Sets the type of RowCollection that will be used to contain rows filtered by this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface planetj.util.IFilter
meetsCriteria
 

Constructor Detail

GenericRowFilter

public GenericRowFilter()
Method Detail

getFilteredRowCount

public int getFilteredRowCount()
Gets the number of rows that should be in RowCollections created with this filter. If the number of rows meeting this filter's criteria is greater than this value, then RowCollections created with this filter will have a "next RowCollection". By default there is no maximum number of filtered rows.


getRowCollectionClass

public Class getRowCollectionClass()
Gets the type of RowCollection that will be used to contain rows filtered by this object.


setRowCollectionClass

public void setRowCollectionClass(Class newRowCollectionClass)
Sets the type of RowCollection that will be used to contain rows filtered by this object.

Parameters:
newRowCollectionClass - The Class object for the collection of rows in the query results. This class must be a subclass of the FilteredRowCollection class.