gistoolkit.datasources.filter
Interface Filter

All Known Subinterfaces:
SQLFilter
All Known Implementing Classes:
AttributeFilter, Expression, Join, ShapeFilter, SQLDateAttributeFilter, SQLExpression, SQLJoin, SQLNumberAttributeFilter, SQLStringAttributeFilter, SQLStringAttributeINFilter

public interface Filter

A base class to provide a way to filter a data source bassed on attributes, or on shapes.


Method Summary
 boolean contains(Record inRecord)
          Determines if this record should or should not be returned as part of the resulting dataset.
 java.lang.String getFilterName()
          Returns a name for this filter.
 Node getNode()
          Get the configuration information for the filter.
 void setNode(Node inNode)
          Set the configuration information in the filter.
 

Method Detail

contains

public boolean contains(Record inRecord)
Determines if this record should or should not be returned as part of the resulting dataset.

Returns True if the record should be included, and returns False if it should not.


getFilterName

public java.lang.String getFilterName()
Returns a name for this filter.


getNode

public Node getNode()
Get the configuration information for the filter.


setNode

public void setNode(Node inNode)
             throws java.lang.Exception
Set the configuration information in the filter.

Throws:
java.lang.Exception