48 words

isPersistent(pc) - JDO JDOHelper's static method

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

Tests whether the parameter instance is persistent. Instances that represent persistent objects in the data store 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 is persistent.
Since:
JDO 1.0
See Also:
PersistenceManager.makePersistent(Object pc)
PersistenceCapable.jdoIsPersistent()

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.