ObjectDB ObjectDB

isDetached(pc) - JDO StateInterrogation's method

Method
javax.jdo.spi.StateInterrogation
Boolean isDetached(
  Object pc
)

Tests whether the parameter instance is detached. Instances that are detached return Boolean.TRUE.

Instances known by the implementation to be non-detached return Boolean.FALSE.

Instances not recognized by the implementation return null.

Parameters:
pc - the instance.
Returns:
Boolean.TRUE if the parameter instance is detached.
Since:
JDO 2.0
See Also:
PersistenceManager.detachCopy(Object pc)
PersistenceCapable.jdoIsDeleted()