ObjectDB ObjectDB

getObjectIds(pcs) - JDO JDOHelper's static method

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