Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.sessions
Class ObjectCopyingPolicy

java.lang.Object
  extended by org.eclipse.persistence.queries.AttributeGroup
      extended by org.eclipse.persistence.sessions.CopyGroup
          extended by org.eclipse.persistence.sessions.ObjectCopyingPolicy

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

Deprecated. use CopyGroup instead.

public class ObjectCopyingPolicy
extends CopyGroup

Purpose: Define how an object is to be copied.

Description: This is for usage with the object copying feature, not the unit of work. This is useful for copying an entire object graph as part of the host application's logic.

Responsibilities:

Since:
TOPLink/Java 3.0
See Also:
Session.copyObject(Object, ObjectCopyingPolicy), Serialized Form

Field Summary

 

Fields inherited from class org.eclipse.persistence.sessions.CopyGroup
CASCADE_ALL_PARTS, CASCADE_PRIVATE_PARTS, CASCADE_TREE, copies, depth, NO_CASCADE, session, shouldResetPrimaryKey, shouldResetVersion

 

Fields inherited from class org.eclipse.persistence.queries.AttributeGroup
items

 

Constructor Summary
ObjectCopyingPolicy()
          Deprecated. PUBLIC: Return a new copying policy.

 

Method Summary

 

Methods inherited from class org.eclipse.persistence.sessions.CopyGroup
addAttribute, addAttribute, cascadeAllParts, cascadePrivateParts, cascadeTree, clone, dontCascade, getCopies, getDepth, getGroup, getSession, isCopyGroup, newGroup, setCopies, setDepth, setSession, setShouldResetPrimaryKey, setShouldResetVersion, shouldCascade, shouldCascadeAllParts, shouldCascadePrivateParts, shouldCascadeTree, shouldResetPrimaryKey, shouldResetVersion, toStringAdditionalInfo

 

Methods inherited from class org.eclipse.persistence.queries.AttributeGroup
addAttribute, addAttributes, containsAttribute, containsAttributeInternal, convert, equals, getAttributeNames, getItem, getItems, getName, hasItems, isFetchGroup, isLoadGroup, isSupersetOf, newItem, removeAttribute, setAttributeNames, setName, toCopyGroup, toFetchGroup, toLoadGroup, toString, toStringItems, toStringPath

 

Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ObjectCopyingPolicy

public ObjectCopyingPolicy()
Deprecated. 
PUBLIC: Return a new copying policy. By default the policy cascades privately owned parts and nulls primary keys.

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.