org.dbunit.database
Class DatabaseTableIterator

java.lang.Object
  extended by org.dbunit.database.DatabaseTableIterator
All Implemented Interfaces:
ITableIterator

public class DatabaseTableIterator
extends java.lang.Object
implements ITableIterator

Since:
? (Apr 12, 2003)
Version:
$Revision: 767 $ $Date: 2008-08-01 14:26:47 +0200 (ven, 01 ago 2008) $
Author:
Manuel Laflamme, Last changed by: $Author: gommma $

Constructor Summary
DatabaseTableIterator(java.lang.String[] tableNames, IDataSet dataSet)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseTableIterator

public DatabaseTableIterator(java.lang.String[] tableNames,
                             IDataSet dataSet)
Method Detail

next

public boolean next()
             throws DataSetException
Description copied from interface: ITableIterator
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.

Specified by:
next in interface ITableIterator
Returns:
true if the new current table is valid; false if there are no more table
Throws:
DataSetException

getTableMetaData

public ITableMetaData getTableMetaData()
                                throws DataSetException
Description copied from interface: ITableIterator
Returns the metadata of the current table.

Specified by:
getTableMetaData in interface ITableIterator
Throws:
DataSetException

getTable

public ITable getTable()
                throws DataSetException
Description copied from interface: ITableIterator
Returns the current table.

Specified by:
getTable in interface ITableIterator
Throws:
DataSetException


Copyright © 2002-2008. All Rights Reserved.