org.ujac.util.table
Class NotRowFilterRule

java.lang.Object
  extended by org.ujac.util.table.NotRowFilterRule
All Implemented Interfaces:
RowFilterRule

public class NotRowFilterRule
extends Object
implements RowFilterRule

Name: NotRowFilterRule
Description: Description of the class.

Author:
lauerc

Constructor Summary
NotRowFilterRule(RowFilterRule rule)
          Constructs a EqualsRowFilterRule instance with specific attributes.
 
Method Summary
 void setup(Table table)
          Sets up the rule.
 boolean test(Row row)
          Tests the filter rule for the given row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotRowFilterRule

public NotRowFilterRule(RowFilterRule rule)
Constructs a EqualsRowFilterRule instance with specific attributes.

Parameters:
rule - The row filter rule, for which to turn the results.
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.

test

public boolean test(Row row)
             throws TableException
Description copied from interface: RowFilterRule
Tests the filter rule for the given row.

Specified by:
test in interface RowFilterRule
Parameters:
row - The row to test.
Returns:
true in case the test was successfully passed valid, else false.
Throws:
TableException - In case a table handling failure occurred.
See Also:
RowFilterRule.test(org.ujac.util.table.Row)


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