org.jpox.state
Class DetachState

java.lang.Object
  extended byorg.jpox.state.FetchPlanState
      extended byorg.jpox.state.DetachState

public class DetachState
extends FetchPlanState

Holder for the detachment state control for the detachment process.

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class org.jpox.state.FetchPlanState
objectGraphTypes
 
Constructor Summary
DetachState()
           
 
Method Summary
 javax.jdo.spi.PersistenceCapable getDetachedCopyObject(java.lang.Object pc)
          Set to the current state a detached copy object
 void setDetachedCopyObject(javax.jdo.spi.PersistenceCapable detachedPC, java.lang.Object id)
          Set to the current state a detached copy object
 
Methods inherited from class org.jpox.state.FetchPlanState
addObjectType, getObjectDepthForType, getObjectGraphDepth, removeLatestObjectType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetachState

public DetachState()
Method Detail

setDetachedCopyObject

public void setDetachedCopyObject(javax.jdo.spi.PersistenceCapable detachedPC,
                                  java.lang.Object id)
Set to the current state a detached copy object

Parameters:
detachedPC - the Detached PC
id - The id to key against. If this is null, we treat as embedded

getDetachedCopyObject

public javax.jdo.spi.PersistenceCapable getDetachedCopyObject(java.lang.Object pc)
Set to the current state a detached copy object

Parameters:
pc - the PersistenceCapable of the object searched
Returns:
the Detached PC


Copyright © -2007 . All Rights Reserved.