|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbunit.dataset.AbstractTable
org.dbunit.dataset.CompositeTable
public class CompositeTable
| Field Summary |
|---|
| Fields inherited from interface org.dbunit.dataset.ITable |
|---|
NO_VALUE |
| Constructor Summary | |
|---|---|
CompositeTable(ITable table1,
ITable table2)
Creates a composite table that combines the specified specified tables. |
|
CompositeTable(ITableMetaData metaData,
ITable table)
Creates a composite table that combines the specified metadata with the specified table. |
|
CompositeTable(ITableMetaData metaData,
ITable[] tables)
Creates a composite table that combines the specified metadata with the specified tables. |
|
CompositeTable(java.lang.String newName,
ITable table)
Creates a composite dataset that encapsulate the specified table with a new name. |
|
| Method Summary | |
|---|---|
int |
getRowCount()
Returns this table row count. |
ITableMetaData |
getTableMetaData()
Returns this table metadata. |
java.lang.Object |
getValue(int row,
java.lang.String columnName)
Returns this table value for the specified row and column. |
| Methods inherited from class org.dbunit.dataset.AbstractTable |
|---|
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeTable(ITableMetaData metaData,
ITable table)
public CompositeTable(ITableMetaData metaData,
ITable[] tables)
public CompositeTable(ITable table1,
ITable table2)
public CompositeTable(java.lang.String newName,
ITable table)
throws DataSetException
DataSetException| Method Detail |
|---|
public ITableMetaData getTableMetaData()
ITable
public int getRowCount()
ITable
public java.lang.Object getValue(int row,
java.lang.String columnName)
throws DataSetException
ITable
NoSuchColumnException - if specfied column name do not exist in
this table
RowOutOfBoundsException - if specfied row is less than zero or
equals or greater than getRowCount
DataSetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||