|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ComparisonUtils
Utilities for comparing data structures in the context of comparing two database schemas.
| Method Summary | |
|---|---|
void |
compareCollections(java.util.Collection leftCollection,
java.util.Collection rightCollection,
DiffContext ctx)
Compare collections, reporting differences using the default Difference.Strength |
void |
compareCollections(java.util.Collection leftCollection,
java.util.Collection rightCollection,
DiffContext ctx,
Result.Strength strength)
Compare collections of DbObjects using their DbObject#diff(DbObject, Differences) method. |
void |
compareSimple(DbProperty left,
DbProperty right,
DiffContext ctx)
Compare two simple objects. |
void |
compareSimple(DbProperty left,
DbProperty right,
DiffContext ctx,
Result.Strength strength)
Compare two 'simple' (i.e. |
void |
compareSimpleCollections(DbProperty leftProperty,
DbProperty rightProperty,
DiffContext ctx,
Result.Strength strength)
|
java.util.List |
findEquivalentObjects(DbObject rootObject,
DbObject objToMatch)
|
| Method Detail |
|---|
java.util.List findEquivalentObjects(DbObject rootObject,
DbObject objToMatch)
void compareSimpleCollections(DbProperty leftProperty,
DbProperty rightProperty,
DiffContext ctx,
Result.Strength strength)
void compareCollections(java.util.Collection leftCollection,
java.util.Collection rightCollection,
DiffContext ctx)
Difference.Strength
#compareCollections(Collection, Collection, Differences, Strength)
void compareCollections(java.util.Collection leftCollection,
java.util.Collection rightCollection,
DiffContext ctx,
Result.Strength strength)
DbObjects using their DbObject#diff(DbObject, Differences) method.
Differences are reported using the specified Difference.Strength.
leftCollection - rightCollection - differences - strength -
void compareSimple(DbProperty left,
DbProperty right,
DiffContext ctx)
#compareSimple(Object, Object, Differences, Strength)
void compareSimple(DbProperty left,
DbProperty right,
DiffContext ctx,
Result.Strength strength)
DbObject objects) using their Object.equals(Object) method
to decide if there is a difference. Differences are reported using the Result.Strength specified.
left - right - differences - strength -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||