|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.db.diff.ResultSetApplier
public class ResultSetApplier
Class that can apply the Difference of two objects recursively. The class assumes that "generic diffing" has happened. As with all the property support, the types of property supported are:
GenericBeanDiffer
Constructor Summary | |
---|---|
ResultSetApplier() Creates a ResultSetApplier that will apply differences in a ResultSet from b() to a(). |
|
ResultSetApplier(boolean applyToB) Creates a ResultSetApplier specfiying which way to apply differences. |
Method Summary | |
---|---|
void |
apply(Difference rs) Applys changes in the "a" object to the "b" object in the result set. |
DBObjectChange[] |
fireEvents() |
static DBObjectChange |
fireLazyChangeEvent(SystemObject obj, SystemObject copyOfOriginal) Creates and fires a DBObjectChange event for the given object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetApplier()
public ResultSetApplier(boolean applyToB)
applyToB
- if true, differences in a() will be applied to b(), otherwise b() is considered to hold the updates which will be applied to a().Method Detail |
---|
public final void apply(Difference rs)
public DBObjectChange[] fireEvents()
public static DBObjectChange fireLazyChangeEvent(SystemObject obj, SystemObject copyOfOriginal)
obj
- the object to fire the event onupdateCopy
- a copy of the last know state of the object.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |