/** * The generated methods copy key fields from the object id instance to the PersistenceCapable *instance or to the ObjectIdFieldConsumer. */ @Override public void jdoCopyKeyFieldsFromObjectId (ObjectIdFieldConsumer fc, Object oid) { fc.storeIntField (2, ((IntIdentity)oid).getKey()); }