JDO Static Method
in javax.jdo.JDOHelper

Object[] getObjectIds(
  Object[] pcs
)


Get object ids for an array of instances. For each instance in the parameter, the getObjectId method is called. This method returns one identity instance for each element in the parameter. The order of instances of the returned array exactly matches the order of instances of the parameter array.
Parameters:
pcs - the persistence-capable instances
Return:
the object ids of the parameters
See Also:
getObjectId(Object pc)
getObjectIds(Collection pcs)
Since:
JDO 2.0