|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.dbunit.dataset.Table
public class Table
A data set table
| Constructor Summary | |
|---|---|
Table(java.lang.String name)
Creates a data set table. |
|
| Method Summary | |
|---|---|
void |
addColumn(org.dbunit.dataset.Column column)
|
void |
addColumns(org.dbunit.dataset.Column[] columns2)
|
void |
addRow(Row row)
Adds a data set row |
TableDifference |
compare(Table actualTable)
Compares the table with the given actual table. |
protected void |
compareRows(java.util.List<Row> rows,
Table actualTable,
TableDifference result)
Compares the given rows with the columns of the actual table. |
java.util.List<org.dbunit.dataset.Column> |
getColumns()
|
java.lang.String |
getName()
|
java.util.List<Row> |
getRows()
|
boolean |
isEmpty()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Table(java.lang.String name)
name - The name of the table, not null| Method Detail |
|---|
public java.lang.String getName()
public java.util.List<Row> getRows()
public boolean isEmpty()
public void addRow(Row row)
row - The row to add, not nullpublic TableDifference compare(Table actualTable)
actualTable - The table to compare with, not null
protected void compareRows(java.util.List<Row> rows,
Table actualTable,
TableDifference result)
rows - The rows to compare, not nullactualTable - The rows to compare with, not nullresult - The result to add the differences to, not nullpublic java.util.List<org.dbunit.dataset.Column> getColumns()
public void addColumns(org.dbunit.dataset.Column[] columns2)
public void addColumn(org.dbunit.dataset.Column column)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||