newObjectIdInstance(pcClass) - JDO JDOImplHelper's method

Object newObjectIdInstance(
  Class pcClass

Create a new instance of the ObjectId class of this PersistenceCapable class. It is intended only for application identity. This method should not be called for classes that use single field identity; newObjectIdInstance(Class, Object) should be used instead. If the class has been enhanced for datastore identity, or if the class is abstract, null is returned.
pcClass - the PersistenceCapable class.
the new ObjectId instance, or null if the class is not registered.
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.