|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dbunit.dataset.AbstractDataSet
This abstract class provides the basic implementation of the IDataSet
interface. Subclass are only required to implement the createIterator(boolean)
method.
| Constructor Summary | |
AbstractDataSet()
|
|
| Method Summary | |
protected ITable[] |
cloneTables(ITable[] tables)
|
protected abstract ITableIterator |
createIterator(boolean reversed)
|
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()
Returns tables in this dataset in proper sequence. |
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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbstractDataSet()
| Method Detail |
protected ITable[] cloneTables(ITable[] tables)
protected abstract ITableIterator createIterator(boolean reversed)
throws DataSetException
DataSetException
public java.lang.String[] getTableNames()
throws DataSetException
IDataSet
getTableNames in interface IDataSetDataSetException
public ITableMetaData getTableMetaData(java.lang.String tableName)
throws DataSetException
IDataSet
getTableMetaData in interface IDataSetDataSetException
public ITable getTable(java.lang.String tableName)
throws DataSetException
IDataSet
getTable in interface IDataSetDataSetException
public ITable[] getTables()
throws DataSetException
IDataSet
getTables in interface IDataSetDataSetException
public ITableIterator iterator()
throws DataSetException
IDataSet
iterator in interface IDataSetDataSetException
public ITableIterator reverseIterator()
throws DataSetException
IDataSet
reverseIterator in interface IDataSetDataSetExceptionpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||