getObjectId(pc) - JDO StateManager's method

Method
javax.jdo.spi.StateManager
Object getObjectId(
  PersistenceCapable pc
)

Return the object representing the JDO identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the identity as of the beginning of the transaction.
Parameters:
pc - the calling PersistenceCapable instance
Returns:
the object representing the JDO identity of the calling instance
Since:
JDO 1.0