|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.otm.swizzle.NoSwizzling
No swizzling is performed.
| Constructor Summary | |
NoSwizzling()
|
|
| Method Summary | |
java.lang.Object |
getRealTarget(java.lang.Object swizzledObject)
Get the real object associated with the given swizzled object. |
boolean |
isSameInstance(java.lang.Object swizzledObject,
java.lang.Object object)
Test if the given swizzled object is the same as the given object. |
java.lang.Object |
swizzle(java.lang.Object newObj,
java.lang.Object oldObj,
PersistenceBroker pb,
ObjectCache cache)
Swizzle object references. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoSwizzling()
| Method Detail |
public java.lang.Object swizzle(java.lang.Object newObj,
java.lang.Object oldObj,
PersistenceBroker pb,
ObjectCache cache)
Swizzling
swizzle in interface SwizzlingnewObj - the object being inserted into the EditingContext,
is null if the object is being invalidatedoldObj - the object present in the EditingContext,
is null if no object is presentpb - the PersistenceBroker that is used to get
persistent class infocache - the "cache" of old objects, only lookup() method
can be used by the Swizzling implementation to seek for old objects
that should be set as a new value of relations
org.apache.ojb.otm.swizzle.Swizzling#swizzle(Object, Object, PersistenceBroker)
public boolean isSameInstance(java.lang.Object swizzledObject,
java.lang.Object object)
Swizzling
isSameInstance in interface SwizzlingswizzledObject - The swizzled objectobject - The other object to be compared to
Swizzling.isSameInstance(Object, Object)public java.lang.Object getRealTarget(java.lang.Object swizzledObject)
Swizzling
getRealTarget in interface SwizzlingswizzledObject - the swizzled object
Swizzling.getRealTarget(Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||