EclipseLink 2.4.2, build 'v20130514-5956486' 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
allsubclasses, items, name, subClasses, superClassGroup, type, typeName
 
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, addAttribute, addAttributeKey, addAttributes, clone, containsAttribute, containsAttributeInternal, convert, convertClassNamesToClasses, equals, findGroup, getAllItems, getAttributeNames, getItem, getItem, getItems, getName, getSubClassGroups, getType, getTypeName, hasInheritance, hasItems, insertSubClass, isConcurrent, isFetchGroup, isLoadGroup, isSupersetOf, newItem, removeAttribute, setAllSubclasses, setAttributeNames, setName, toCopyGroup, toCopyGroup, toFetchGroup, toFetchGroup, toLoadGroup, 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.4.2, build 'v20130514-5956486' API Reference