com.simba.dsi.dataengine.filters
Class IdentifierFilter

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

public class IdentifierFilter
extends java.lang.Object
implements IFilter

An implementation of IFilter which provides case insensitive filtering on strings.


Constructor Summary
IdentifierFilter(MetadataSourceColumnTag columnTag, java.lang.String value, java.lang.String quoteChar)
          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

IdentifierFilter

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

Parameters:
columnTag - The column to filter on.
value - The value to use in filtering.
quoteChar - The character(s) used for quoting.
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.