Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Package oracle.javatools.db.diff

Contains a metadata driven differ of database objects.

See:
          Description

Interface Summary
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 Summary
DefaultResultSetFilter Default implementation of the ResultSetFilter interface.
DiffContext  
DiffEngine Engine that can diff two objects and return the results.
Difference Represents the difference between two versions of the same object.
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.
GenericDBObjectComparator  
GenericDiffEngine Utility class that sets up a DiffEngine that can generically diff all our DBObjects.
GenericIDComparator Comparator for DBObjectIDs
GenericIDDiffer  
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.
GenericSchemaDiffer Deprecated. - use a GenericNameDiffer if you only want to diff the name of objects.
GenericToStringDiffer Differ that will compare two objects if the ToStringManager can convert them to Strings.
IDByNameComparator Comparator that compares IDs by resolving them and comparing the resulting objects using DBUtil.getNameComparator().
IDByNameDiffer Differ that diffs IDs by resolving them and comparing the resulting objects using DBUtil#getNameComparator()
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  
ResultSetApplier Class that can apply the Difference of two objects recursively.
SQLFragmentComparator  
 

Exception Summary
DiffEngineCancelledException  
 

Package oracle.javatools.db.diff Description

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.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.