ObjectDB ObjectDB

isDeleted(pc) - JDO JDOHelper's static method

Static Method
javax.jdo.JDOHelper
boolean isDeleted(
  Object pc
)

Tests whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return true.

Transient instances and instances of classes that do not implement PersistenceCapable return false.

Parameters:
pc - the PersistenceCapable instance.
Returns:
true if the parameter instance was deleted in the current transaction.
Since:
JDO 1.0
See Also:
PersistenceManager.deletePersistent(Object pc)
PersistenceCapable.jdoIsDeleted()