org.ujac.util.table
Class BaseRowFilterRule

java.lang.Object
  extended by org.ujac.util.table.BaseRowFilterRule
All Implemented Interfaces:
RowFilterRule
Direct Known Subclasses:
BetweenRowFilterRule, EqualsRowFilterRule, GreaterEqualsRowFilterRule, GreaterRowFilterRule, InRowFilterRule, LessEqualsRowFilterRule, LessRowFilterRule, LikeRowFilterRule

public abstract class BaseRowFilterRule
extends Object
implements RowFilterRule

Name: BaseRowFilterRule
Description: A base table row filter rule implementation.

Author:
lauerc

Field Summary
protected  int columnIndex
          The column index.
protected  String columnName
          The column name.
 
Constructor Summary
BaseRowFilterRule(String columnName)
          Constructs a BaseRowFilteRule instance with specific attributes.
 
Method Summary
 void setup(Table table)
          Sets up the rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ujac.util.table.RowFilterRule
test
 

Field Detail

columnName

protected String columnName
The column name.


columnIndex

protected int columnIndex
The column index.

Constructor Detail

BaseRowFilterRule

public BaseRowFilterRule(String columnName)
Constructs a BaseRowFilteRule instance with specific attributes.

Parameters:
columnName - The column name.
Method Detail

setup

public void setup(Table table)
           throws TableException
Sets up the rule.

Specified by:
setup in interface RowFilterRule
Parameters:
table - The table for which set up the rule.
Throws:
TableException - In case a table handling failure occurred.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.