|
Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.toplink.descriptors.copying.AbstractCopyPolicy
oracle.toplink.descriptors.copying.InstantiationCopyPolicy
Purpose: Creates a copy through creating a new instance.
| Constructor Summary | |
InstantiationCopyPolicy()
|
|
| Method Summary | |
java.lang.Object |
buildClone(java.lang.Object domainObject,
Session session)
Return a shallow clone of the object for usage with object copying, or unit of work backup cloning. |
boolean |
buildsNewInstance()
Return if a new instance is created or a clone. |
java.lang.String |
toString()
|
| Methods inherited from class oracle.toplink.descriptors.copying.AbstractCopyPolicy |
buildWorkingCopyClone, buildWorkingCopyCloneFromRow, initialize, setDescriptor |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public InstantiationCopyPolicy()
| Method Detail |
public java.lang.Object buildClone(java.lang.Object domainObject,
Session session)
throws DescriptorException
CopyPolicy
buildClone in interface CopyPolicybuildClone in class AbstractCopyPolicyDescriptorExceptionpublic boolean buildsNewInstance()
AbstractCopyPolicy
buildsNewInstance in interface CopyPolicybuildsNewInstance in class AbstractCopyPolicypublic java.lang.String toString()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||