|
||||||||||
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(String name)
Creates a data set table. |
Method Summary | |
---|---|
void |
addRow(Row row)
Adds a data set row |
TableDifference |
compare(Table actualTable)
Compares the table with the given actual table. |
protected void |
compareRows(List<Row> rows,
Table actualTable,
TableDifference result)
Compares the given rows with the columns of the actual table. |
String |
getName()
|
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(String name)
name
- The name of the table, not nullMethod Detail |
---|
public String getName()
public 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(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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |