Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dbunit.dataset
Interface IDataSet  view IDataSet download IDataSet.java

All Known Implementing Classes:
AbstractDataSet

public interface IDataSet

Represents a collection of tables.

Since:
Feb 17, 2002
Version:
$Revision: 1.14 $

Method Summary
 ITable getTable(java.lang.String tableName)
          Returns the specified table.
 ITableMetaData getTableMetaData(java.lang.String tableName)
          Returns the specified table metadata.
 java.lang.String[] getTableNames()
          Returns names of tables in this dataset in proper sequence.
 ITable[] getTables()
          Deprecated. Use iterator() 55 or reverseIterator() 55 instead.
 ITableIterator iterator()
          Returns an iterator over the tables in this dataset in proper sequence.
 ITableIterator reverseIterator()
          Returns an iterator over the tables in this dataset in reverse sequence.
 

Method Detail

getTableNames

public java.lang.String[] getTableNames()
                                 throws DataSetException
Returns names of tables in this dataset in proper sequence. Multiple occurence of the same name may be returned if multiple tables having the same name are present in the dataset.


getTableMetaData

public ITableMetaData getTableMetaData(java.lang.String tableName)
                                throws DataSetException
Returns the specified table metadata.


getTable

public ITable getTable(java.lang.String tableName)
                throws DataSetException
Returns the specified table.


getTables

public ITable[] getTables()
                   throws DataSetException
Deprecated. Use iterator() 55 or reverseIterator() 55 instead.

Returns tables in this dataset in proper sequence. Multiple tables having the same name but different data may be returned.


iterator

public ITableIterator iterator()
                        throws DataSetException
Returns an iterator over the tables in this dataset in proper sequence.


reverseIterator

public ITableIterator reverseIterator()
                               throws DataSetException
Returns an iterator over the tables in this dataset in reverse sequence.