53 words

newObjectIdInstance(pcClass, key) - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
Object newObjectIdInstance(
  Class pcClass,
  Object key
)

This method returns an object id instance corresponding to the pcClass and key arguments.
Parameters:
pcClass - the Class of the persistence-capable instance
key - for single-field identity, the parameter for the constructor; for non-single-field application identity, the result of toString() on the object id instance.
Returns:
an instance of the object identity class
Since:
JDO 1.0

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.