gistoolkit.datasources.filter
Class SQLNumberAttributeFilter

java.lang.Object
  extended bygistoolkit.datasources.filter.AttributeFilter
      extended bygistoolkit.datasources.filter.NumberAttributeFilter
          extended bygistoolkit.datasources.filter.SQLNumberAttributeFilter
All Implemented Interfaces:
Filter, SQLFilter

public class SQLNumberAttributeFilter
extends NumberAttributeFilter
implements SQLFilter

Class to provide comparisons of numbers within an SQL String.


Field Summary
 
Fields inherited from class gistoolkit.datasources.filter.AttributeFilter
ATTRIBUTE_EQUALS, ATTRIBUTE_GREATER, ATTRIBUTE_LESS, ATTRIBUTE_VALUE
 
Constructor Summary
SQLNumberAttributeFilter()
          Creates a new instance of SQLNumberAttributeFilter
SQLNumberAttributeFilter(java.lang.String inAttributeName, int inComparison, double inValue)
          Constructor for SQLNumberAttributeFilter.
 
Method Summary
 java.lang.String getFilterSQL(SQLConverter inConverter)
          Returns the actual SQL String to return to the database.
 
Methods inherited from class gistoolkit.datasources.filter.NumberAttributeFilter
contains, getAttributeValue, getNode, setNode, setValue
 
Methods inherited from class gistoolkit.datasources.filter.AttributeFilter
createFilterName, findAttribute, getAttributeName, getComparison, getFilterName, setAttributeName, setComparison, setFilterName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gistoolkit.datasources.filter.Filter
contains, getFilterName, getNode, setNode
 

Constructor Detail

SQLNumberAttributeFilter

public SQLNumberAttributeFilter()
Creates a new instance of SQLNumberAttributeFilter


SQLNumberAttributeFilter

public SQLNumberAttributeFilter(java.lang.String inAttributeName,
                                int inComparison,
                                double inValue)
Constructor for SQLNumberAttributeFilter.

Method Detail

getFilterSQL

public java.lang.String getFilterSQL(SQLConverter inConverter)
Returns the actual SQL String to return to the database.

Specified by:
getFilterSQL in interface SQLFilter