Package | Description |
---|---|
oracle.ide.db.transfer |
Contains an API for transfering database object from one DBObjectProvider to another.
|
oracle.javatools.db.diff |
Contains a metadata driven differ of database objects.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
TransferPolicy.getDifferences(TransferDescriptor td, SystemObject[] existingObjects, SystemObject[] copiedObjects)
Get a ResultSet describing the differences between any existing objects and the objects which have been copied for transfer.
|
ResultSet |
TransferState.getResultSet() |
Modifier and Type | Method and Description |
---|---|
void |
TransferState.setResultSet(ResultSet rs) |
SystemObject[] |
TransferTarget.transfer(ResultSet rs)
Complete the transfer by applying the given result set to the transfer target.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
ResultSet.copyTo(java.lang.Object target) |
protected ResultSet |
GenericBeanDiffer.diffProperty(java.lang.Object a, java.lang.Object b, ResultSet objectRS, DiffContext c, PropertyInfo prop, java.util.Map<java.lang.String,PropertyInfo> beanProps)
Three types of property are supported
1) those that convert to strings - convert to strings and compare 2) array properties - diff them with the engine as lists 3) other objects - let the diff engine decide what to do with them |
protected ResultSet |
GenericMapDiffer.diffValue(java.util.Map aMap, java.util.Map bMap, java.lang.Object key, ResultSet mapRS, DiffContext c) |
protected ResultSet |
GenericMapDiffer.diffValue(java.lang.Object aValue, java.lang.Object bValue, java.lang.Object key, ResultSet mapRS, DiffContext c) |
ResultSet |
ResultSet.getFilteredResultSet(DifferenceFilter rsf)
Deprecated.
use getFilteredDifference
|
ResultSet |
ResultSet.getParent() |
ResultSet |
DiffContext.getResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ResultSet> |
ResultSet.getAList()
get a list of the objects which are in A
|
java.util.List<ResultSet> |
ResultSet.getAllObjectsList()
If this is a LIST result set, return a copy of the list.
|
java.util.Map<java.lang.String,ResultSet> |
ResultSet.getAllObjectsMap()
If this is a MAP ResultSet, return a copy of the Map.
|
java.util.List<ResultSet> |
ResultSet.getAonlyList()
get a list of the objects which are in A and not in B
|
java.util.List<ResultSet> |
ResultSet.getBList()
get a list of the objects which are in B
|
java.util.List<ResultSet> |
ResultSet.getBonlyList()
get a list of the objects which are in B but not in A
|
java.util.Map<java.lang.String,ResultSet> |
ResultSet.getBonlyMap()
If this is a MAP ResultSet, return a Map of the objects that are only in B
|
java.util.Iterator<ResultSet> |
ResultSet.getChildIterator()
Deprecated.
use getChildren().iterator()
|
java.util.Collection<ResultSet> |
ResultSet.getChildren() |
java.util.List<ResultSet> |
ResultSet.getModifiedObjectList()
get a list of the objects which are in A and B and are not the same
|
java.util.Map<java.lang.String,ResultSet> |
ResultSet.getModifiedObjectMap()
get a map of the attributes which have been modified.
|
java.util.List<ResultSet> |
ResultSet.getNotSameObjectList()
get a list of the objects which are not the same.
|
java.util.Map<java.lang.String,ResultSet> |
ResultSet.getNotSameObjectMap()
get a map of the attributes which are not the same.
|
Modifier and Type | Method and Description |
---|---|
void |
ResultSet.addToList(ResultSet rs) |
void |
ResultSet.addToMap(java.lang.String name, ResultSet rs) |
protected void |
ResultSet.copyToImpl(ResultSet copy) |
DiffContext |
DiffEngine.diff(java.util.List a, java.util.List b, ResultSet r, DiffContext dc)
Diff the given object lists with the prepared context.
|
DiffContext |
DiffEngine.diff(java.lang.Object[] a, java.lang.Object[] b, ResultSet r)
Diff the given object arrays.
|
DiffContext |
DiffEngine.diff(java.lang.Object[] a, java.lang.Object[] b, ResultSet r, DiffContext dc)
Diff the given object arrays with the prepared context.
|
boolean |
ListDiffer.diff(java.lang.Object a, java.lang.Object b, ResultSet rlist, DiffContext dc) |
boolean |
IDByNameDiffer.diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext c) |
boolean |
GenericToStringDiffer.diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext c) |
boolean |
GenericMapDiffer.diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext c) |
boolean |
GenericBeanDiffer.diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext c)
If the objects being diffed are beans this method returns true - i.e.
|
boolean |
GenericArrayDiffer.diff(java.lang.Object a, java.lang.Object b, ResultSet rs, DiffContext c) |
boolean |
Differ.diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext c)
Diff two objects and place any results in the DiffContext.
|
DiffContext |
DiffEngine.diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext dc)
Diff the given objects with the prepared context.
|
boolean |
DBObjectIDDiffer.diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext c) |
protected ResultSet |
GenericBeanDiffer.diffProperty(java.lang.Object a, java.lang.Object b, ResultSet objectRS, DiffContext c, PropertyInfo prop, java.util.Map<java.lang.String,PropertyInfo> beanProps)
Three types of property are supported
1) those that convert to strings - convert to strings and compare 2) array properties - diff them with the engine as lists 3) other objects - let the diff engine decide what to do with them |
protected ResultSet |
GenericMapDiffer.diffValue(java.util.Map aMap, java.util.Map bMap, java.lang.Object key, ResultSet mapRS, DiffContext c) |
protected ResultSet |
GenericMapDiffer.diffValue(java.lang.Object aValue, java.lang.Object bValue, java.lang.Object key, ResultSet mapRS, DiffContext c) |
boolean |
DefaultResultSetFilter.isFilteredProperty(ResultSet rs, java.lang.String prop)
Deprecated.
|
void |
DiffContext.setResult(ResultSet resultSet) |
Constructor and Description |
---|
DiffContext(DiffEngine diffEngine, ResultSet resultSet) |
ResultSet(ResultSet parent, boolean same, java.lang.Object a, java.lang.Object b, java.lang.String propertyName)
Create a fully populated leaf node in the result set
|
ResultSet(ResultSet parent, java.lang.Object a, java.lang.Object b, int indexOfA, int indexOfB, java.lang.String name, java.lang.String type)
create a LIST result node attached to its parent
|
ResultSet(ResultSet parent, java.lang.Object a, java.lang.Object b, java.lang.String name, java.lang.String type)
create a result node attached to its parent
|