EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

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:

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

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, 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.


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference