|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbunit.dataset.AbstractDataSet org.dbunit.dataset.DefaultDataSet
public class DefaultDataSet
Simple implementation of a dataset backed by ITable
objects which can
be added dynamically.
Field Summary |
---|
Fields inherited from class org.dbunit.dataset.AbstractDataSet |
---|
_orderedTableNameMap |
Constructor Summary | |
---|---|
DefaultDataSet()
|
|
DefaultDataSet(boolean caseSensitiveTableNames)
Creates a default dataset which is empty initially |
|
DefaultDataSet(ITable table)
|
|
DefaultDataSet(ITable[] tables)
|
|
DefaultDataSet(ITable[] tables,
boolean caseSensitiveTableNames)
Creates a default dataset which consists of the given tables |
|
DefaultDataSet(ITable table1,
ITable table2)
|
Method Summary | |
---|---|
void |
addTable(ITable table)
Add a new table in this dataset. |
protected ITableIterator |
createIterator(boolean reversed)
Creates an iterator which provides access to all tables of this dataset |
protected void |
initialize()
Initializes the _orderedTableNameMap of the parent class if it is not initialized yet. |
Methods inherited from class org.dbunit.dataset.AbstractDataSet |
---|
createTableNameMap, getTable, getTableMetaData, getTableNames, getTables, isCaseSensitiveTableNames, iterator, reverseIterator, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultDataSet()
public DefaultDataSet(boolean caseSensitiveTableNames)
caseSensitiveTableNames
- public DefaultDataSet(ITable table) throws AmbiguousTableNameException
AmbiguousTableNameException
public DefaultDataSet(ITable table1, ITable table2) throws AmbiguousTableNameException
AmbiguousTableNameException
public DefaultDataSet(ITable[] tables) throws AmbiguousTableNameException
AmbiguousTableNameException
public DefaultDataSet(ITable[] tables, boolean caseSensitiveTableNames) throws AmbiguousTableNameException
caseSensitiveTableNames
-
AmbiguousTableNameException
Method Detail |
---|
public void addTable(ITable table) throws AmbiguousTableNameException
AmbiguousTableNameException
protected void initialize()
_orderedTableNameMap
of the parent class if it is not initialized yet.
DataSetException
protected ITableIterator createIterator(boolean reversed) throws DataSetException
AbstractDataSet
createIterator
in class AbstractDataSet
reversed
- Whether the created iterator should be a reversed one or not
ITableIterator
DataSetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |