Purpose: This is the default copy policy. It creates a copy by creating a new instance of the object and then using the mappings specified for the object to populate the object.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | buildClone(Object domainObject, Session session)
Implements abstract org. Implements org. |
| public boolean | buildsNewInstance()
Implements org. |
| public String |
| InstantiationCopyPolicy | back to summary |
|---|---|
| public InstantiationCopyPolicy() | |
| buildClone | back to summary |
|---|---|
| public Object buildClone(Object domainObject, 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.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |