|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.otm.copy.CloneableObjectCopyStrategy
Constructor Summary | |
CloneableObjectCopyStrategy()
|
Method Summary | |
java.lang.Object |
copy(java.lang.Object obj)
If users want to implement clone on all their objects, we can use this to make copies. |
java.lang.Object |
copy(java.lang.Object src,
java.lang.Object dest)
copy src object into dest object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CloneableObjectCopyStrategy()
Method Detail |
public java.lang.Object copy(java.lang.Object obj) throws ObjectCopyException
copy
in interface ObjectCopyStrategy
obj
- object to be copied
ObjectCopyException
ObjectCopyStrategy.copy(Object)
public java.lang.Object copy(java.lang.Object src, java.lang.Object dest)
ObjectCopyStrategy
copy
in interface ObjectCopyStrategy
src
- dest
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |