|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.javatools.db.diff.ResultSetApplier
public class ResultSetApplier
Class that can take a result set and apply the differences stored in the result set across the two objects. Assumes that generic diffing has happened. As with all the property support 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(ResultSet rs)
Applys changes in the "a" object to the "b" object in the result set. |
DBObjectChange[] |
fireEvents()
|
static DBObjectChange |
fireLazyChangeEvent(SchemaObject obj,
SchemaObject 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(ResultSet rs)
public DBObjectChange[] fireEvents()
public static DBObjectChange fireLazyChangeEvent(SchemaObject obj, SchemaObject 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.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |