javax.jdo.spi
Interface Detachable


public interface Detachable

This interface is implemented by classes that can be detached from the persistence context and later attached. The interface includes the contract by which the StateManager can set the object id and version so they are preserved while outside the persistence environment.

Since:
2.0
Version:
2.0

Method Summary
 void jdoProvideLoadedFieldList()
          Provide the loaded field list in the detached object.
 void jdoProvideModifiedFieldList()
          Provide the modified field list in the detached object.
 void jdoReplaceLoadedFieldList()
          Replace the loaded field list in the detached object.
 void jdoReplaceModifiedFieldList()
          Replace the modified field list in the detached object.
 void jdoReplaceObjectId()
          Replace the object id in the detached object.
 void jdoReplaceVersion()
          Replace the version in the detached object.
 

Method Detail

jdoReplaceObjectId

public void jdoReplaceObjectId()
Replace the object id in the detached object.


jdoReplaceVersion

public void jdoReplaceVersion()
Replace the version in the detached object.


jdoProvideLoadedFieldList

public void jdoProvideLoadedFieldList()
Provide the loaded field list in the detached object.


jdoReplaceLoadedFieldList

public void jdoReplaceLoadedFieldList()
Replace the loaded field list in the detached object.


jdoProvideModifiedFieldList

public void jdoProvideModifiedFieldList()
Provide the modified field list in the detached object.


jdoReplaceModifiedFieldList

public void jdoReplaceModifiedFieldList()
Replace the modified field list in the detached object.