org.dbunit.dataset.filter
Interface ITableFilter

All Superinterfaces:
ITableFilterSimple
All Known Implementing Classes:
AbstractTableFilter, DatabaseSequenceFilter, DefaultTableFilter, ExcludeTableFilter, IncludeTableFilter, PrimaryKeyFilter, SequenceTableFilter

public interface ITableFilter
extends ITableFilterSimple

Represents a strategy used by FilteredDataSet to exposes only some tables from a dataset.

Since:
Mar 7, 2003
Version:
$Revision: 942 $
Author:
Manuel Laflamme

Method Summary
 String[] getTableNames(IDataSet dataSet)
          Returns the table names allowed by this filter from the specified dataset.
 ITableIterator iterator(IDataSet dataSet, boolean reversed)
          Returns iterator of tables allowed by this filter from the specified dataset.
 
Methods inherited from interface org.dbunit.dataset.filter.ITableFilterSimple
accept
 

Method Detail

getTableNames

String[] getTableNames(IDataSet dataSet)
                       throws DataSetException
Returns the table names allowed by this filter from the specified dataset.

Parameters:
dataSet - the filtered dataset
Throws:
DataSetException

iterator

ITableIterator iterator(IDataSet dataSet,
                        boolean reversed)
                        throws DataSetException
Returns iterator of tables allowed by this filter from the specified dataset.

Parameters:
dataSet - the filtered dataset
Throws:
DataSetException


Copyright © 2002-2012. All Rights Reserved.