55 words

isDeleted(pc) - JDO StateInterrogation's method

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

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

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

Instances not recognized by the implementation return null.

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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.