Package generalDatabase.dataExport
Class ValueFilter<T extends ValueFilterParams>
java.lang.Object
generalDatabase.dataExport.DataFilter
generalDatabase.dataExport.ValueFilter<T>
- Type Parameters:
T
-
Filter class for use with multiple data types in filtering
database table data. All formatting of data types happens within
the concrete classes derived from ValueFilterParams.
- Author:
- Doug Gillespie
-
Constructor Summary
ConstructorDescriptionValueFilter
(DataFilterChangeListener dataFilterChangeListener, T initialParams, PamTableItem tableItem) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Display some kind of action which will enable users to set the filter - be it a drop down menu, a dialog, etc.Get the column name associated with this filter.getFilterClause
(SQLTypes sqlTypes) Get a filter clause which can be incorporated into an SQL stringMethods inherited from class generalDatabase.dataExport.DataFilter
filterChanged
-
Constructor Details
-
ValueFilter
public ValueFilter(DataFilterChangeListener dataFilterChangeListener, T initialParams, PamTableItem tableItem)
-
-
Method Details
-
filterSelectAction
Description copied from class:DataFilter
Display some kind of action which will enable users to set the filter - be it a drop down menu, a dialog, etc.- Specified by:
filterSelectAction
in classDataFilter
- Returns:
- true if filter settings are changed.
-
getColumnName
Description copied from class:DataFilter
Get the column name associated with this filter.- Specified by:
getColumnName
in classDataFilter
- Returns:
- the column name associated with this filter.
-
getFilterClause
Description copied from class:DataFilter
Get a filter clause which can be incorporated into an SQL string- Specified by:
getFilterClause
in classDataFilter
- Returns:
- SQL clause (without the WHERE).
-