Class DetachState
java.lang.Object
org.datanucleus.FetchPlanState
org.datanucleus.DetachState
Holder for the detachment state control for the detachment process.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ApiAdapterAdapter for the API being used.private Map<Object, DetachState.Entry> a map for the current execution of detachCopy with detached objects keyed by the object idFields inherited from class FetchPlanState
memberNames -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet any existing detached copy object for the passed in persistableprivate ObjectvoidsetDetachedCopyEntry(Object pc, Object detachedPC) Set to the current state a detached copy objectMethods inherited from class FetchPlanState
addMemberName, calculateObjectDepthForMember, getCurrentFetchDepth, getObjectDepthForType, removeLatestMemberName
-
Field Details
-
detachedObjectById
a map for the current execution of detachCopy with detached objects keyed by the object id -
api
Adapter for the API being used.
-
-
Constructor Details
-
DetachState
-
-
Method Details
-
setDetachedCopyEntry
-
getDetachedCopyEntry
Get any existing detached copy object for the passed in persistable- Parameters:
pc- the persistable object- Returns:
- the Detached PC
-
getKey
-