See: Description
Interface | Description |
---|---|
Differ |
Engine that can diff two objects and return the results.
|
DifferenceFilter |
Filter that can be applied recursively to a Difference to change the
assessment of which Differences are the "same".
|
ResultSetFilter | Deprecated
use DifferenceFilter
|
Class | Description |
---|---|
DBObjectComparator<T extends DBObject> |
Comparator for DBObjects.
|
DBObjectIDComparator |
Comparator for DBObjectIDs
|
DBObjectIDDiffer |
Differ implementation for comparing DBObjectIDs, that optionally executes
a strict comparison.
|
DefaultResultSetFilter |
Default implementation of the ResultSetFilter interface.
|
DiffContext | |
DiffEngine |
Engine that can diff two objects and return the results.
|
Difference |
Represents the difference (or comparison) for a given object.
|
DifferenceApplier |
Class that can apply the Difference of two objects recursively.
|
GenericArrayDiffer |
Differ that identifies arrays and uses a list diff to diff them.
|
GenericBeanDiffer |
Differ for any object that uses the PropertyInfos provided by
PropertyIterator and diffs the values for those PropertyInfos using the
engine.
|
GenericComparator |
Generic comparator for use comparing lists of objects.
|
GenericDiffEngine |
Utility class that sets up a DiffEngine that can generically diff all our
DBObjects.
|
GenericMapDiffer |
Differ to diff two maps by key/value pairs.
|
GenericNameDiffer |
Generic differ that only diffs the name of a bean, all other properties are
ignored.
|
GenericToStringDiffer |
Differ that will compare two objects if the ToStringManager can convert them
to Strings.
|
IDByNameComparator |
Comparator that compares IDs by the name stored on them (if a
BaseObjectID) or failing that using the name of the object they resolve
to.
|
IDByNameDiffer |
Differ that diffs IDs by the name stored on them (if a BaseObjectID) or
failing that using the name of the object they resolve to.
|
ListDiffer |
Differ of lists that uses the Comparators registered with the underlying
DiffEngine to compare elements in the two lists to assess whether the
contents are different.
|
OrderedListDiffer | Deprecated
ListDiffer has a boolean arg to constructor for order diffing
|
ResultSet |
Exception | Description |
---|---|
DiffEngineCancelledException |
Contains a metadata driven differ of database objects. A
DiffEngine
can be created and any number of Differ
implementations registered with it for comparing objects of different types.
The DiffEngine recursively walks down two lists of objects and thier children,
diffing objects using the appropiate registered Differs. The result is a
complete description of the differences between the two lists and is
encapsulated in a ResultSet
object.
For comparing lists of objects (including children) that are not naturally sortable, Comparator implementations can be registered against a DiffEngine.
The DiffEngine is not specific to database objects. A number of Differs and
Comparators are provided in this package for diffing database objects, ids and
associated classes. To provide a proper diff of database objects the
GenericDiffEngine
class provides a DiffEngine pre-loaded with the
appropriate Differ and Comparator objects.