Purpose: This is the default copy policy when weaving is used. It creates a copy by creating a shallow clone of the object using the weaved _persistence_shallow_clone() method.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | buildClone(Object object, Session session)
Implements abstract org. Implements org. |
| public boolean | buildsNewInstance()
Implements org. |
| public Object | buildWorkingCopyClone(Object object, Session session)
Overrides org. Implements org. |
| public String |
| PersistenceEntityCopyPolicy | back to summary |
|---|---|
| public PersistenceEntityCopyPolicy() | |
| buildClone | back to summary |
|---|---|
| public Object buildClone(Object object, Session session) throws DescriptorException Implements abstract org. Implements org. Doc from org. Return a shallow clone of the object for usage with object copying, or unit of work backup cloning.
| |
| buildsNewInstance | back to summary |
|---|---|
| public boolean buildsNewInstance() Implements org. Doc from org. Return if this copy policy creates a new instance, vs a clone.
| |
| buildWorkingCopyClone | back to summary |
|---|---|
| public Object buildWorkingCopyClone(Object object, Session session) throws DescriptorException Overrides org. Implements org. Doc from org. By default use the buildClone.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |