ObjectDB ObjectDB

getObjectIds(pcs) - JDO JDOHelper's static method

Static Method
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
Returns:
the object ids of the parameters
Since:
JDO 2.0
See Also:
getObjectId(Object pc)
getObjectIds(Object[] pcs)