org.dbunit.dataset
Interface ITableIterator

All Known Implementing Classes:
DatabaseTableIterator, DefaultTableIterator, QueryTableIterator, SequenceTableIterator, StreamingIterator

public interface ITableIterator

Since:
Apr 5, 2003
Version:
$Revision: 398 $
Author:
Manuel Laflamme

Method Summary
 ITable getTable()
          Returns the current table.
 ITableMetaData getTableMetaData()
          Returns the metadata of the current table.
 boolean next()
          Position this iterator to the next table.
 

Method Detail

next

boolean next()
             throws DataSetException
Position this iterator to the next table. The iterator is initially positioned before the first table; the first call to the method next makes the first table the current table; the second call makes the second table the current table, and so on.

Returns:
true if the new current table is valid; false if there are no more table
Throws:
DataSetException

getTableMetaData

ITableMetaData getTableMetaData()
                                throws DataSetException
Returns the metadata of the current table.

Throws:
DataSetException

getTable

ITable getTable()
                throws DataSetException
Returns the current table.

Throws:
DataSetException


Copyright © 2002-2008. All Rights Reserved.