JDO Static Method
in javax.jdo.JDOHelper

Collection getObjectIds(
  Collection pcs
)


Get object ids for a collection 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 iteration of the returned Collection exactly matches the order of iteration of the parameter Collection.
Parameters:
pcs - the persistence-capable instances
Return:
the object ids of the parameters
See Also:
getObjectId(Object pc)
getObjectIds(Object[] pcs)
Since:
JDO 2.0