public class SchemaDifference extends Object
| Constructor and Description |
|---|
SchemaDifference(Schema schema,
Schema actualSchema)
Create a schema difference.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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()
Copyright © 2016. All Rights Reserved.