|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.diff.GenericBeanDiffer
public class GenericBeanDiffer
Differ for any object that uses the PropertyInfos provided by PropertyIterator and diffs the values for those PropertyInfos using the engine.
| Constructor Summary | |
|---|---|
GenericBeanDiffer()
|
|
| Method Summary | |
|---|---|
boolean |
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. |
protected ResultSet |
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 boolean |
ignoreProperty(PropertyInfo prop)
Ignores the given property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericBeanDiffer()
| Method Detail |
|---|
public boolean diff(java.lang.Object a,
java.lang.Object b,
ResultSet r,
DiffContext c)
diff in interface Differ
protected ResultSet diffProperty(java.lang.Object a,
java.lang.Object b,
ResultSet objectRS,
DiffContext c,
PropertyInfo prop,
java.util.Map<java.lang.String,PropertyInfo> beanProps)
protected boolean ignoreProperty(PropertyInfo prop)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||