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

E13403-02

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.
ResultSetFilter  
 

Class Summary
DefaultResultSetFilter Default implementation of the ResultSetFilter interface.
DiffContext  
DiffEngine Engine that can diff two objects and return the results.
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 Register against Schema.class for diffing of the "schema" property on SchemaObjects.
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  
OrderedListDiffer  
ResultSet  
ResultSetApplier Class that can take a result set and apply the differences stored in the result set across the two objects.
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.1.0)

E13403-02

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