|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.unitils.dbunit.dataset.comparison.SchemaDifference
public class SchemaDifference
The differences between 2 data set schemas.
Constructor Summary | |
---|---|
SchemaDifference(Schema schema,
Schema actualSchema)
Create a schema difference. |
Method Summary | |
---|---|
void |
addMissingTable(Table table)
Adds a table that was not found in the actual schema |
void |
addTableDifference(TableDifference tableDifference)
Adds a result of a table comparison |
Schema |
getActualSchema()
|
List<Table> |
getMissingTables()
|
Schema |
getSchema()
|
List<TableDifference> |
getTableDifferences()
|
boolean |
isMatch()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaDifference(Schema schema, Schema actualSchema)
schema
- The expected schema, not nullactualSchema
- The actual schema, not nullMethod Detail |
---|
public Schema getSchema()
public Schema getActualSchema()
public List<TableDifference> getTableDifferences()
public List<Table> getMissingTables()
public void addTableDifference(TableDifference tableDifference)
tableDifference
- The table comparison, not nullpublic void addMissingTable(Table table)
table
- The missing table, not nullpublic boolean isMatch()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |