newObjectIdInstance(pcClass) - JDO JDOImplHelper's method
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.
- Parameters:
-
pcClass
- the PersistenceCapable
class.
- Returns:
- the new ObjectId instance, or
null
if the class is not registered.
- Since:
- JDO 1.0