com.simba.dsi.dataengine.filters
Class SmallIntFilter

java.lang.Object
  extended by com.simba.dsi.dataengine.filters.SmallIntFilter
All Implemented Interfaces:
IFilter

public class SmallIntFilter
extends java.lang.Object
implements IFilter

An implementation of IFilter which provides small integer filtering.


Constructor Summary
SmallIntFilter(MetadataSourceColumnTag columnTag, java.lang.String value)
          Constructor.
 
Method Summary
 boolean filter(DataWrapper data)
          Checks the specified data against the filter.
 MetadataSourceColumnTag getColumnTag()
          Get the metadata source column tag associated with the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmallIntFilter

public SmallIntFilter(MetadataSourceColumnTag columnTag,
                      java.lang.String value)
Constructor.

Parameters:
columnTag - The column to filter on.
value - The value to use in filtering.
Method Detail

filter

public boolean filter(DataWrapper data)
Checks the specified data against the filter.

Specified by:
filter in interface IFilter
Parameters:
data - The data to check against the filter.
Returns:
true if the filter is satisfied; false otherwise.
See Also:
DataWrapper

getColumnTag

public MetadataSourceColumnTag getColumnTag()
Get the metadata source column tag associated with the filter.

Specified by:
getColumnTag in interface IFilter
Returns:
The metadata source column tag associated with the filter.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.