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