/** * It is now possible to build working copy clones directly from rows. * <p>An intermediary original is no longer needed. * <p>This has ramifications to the copy policy and cmp, for clones are * no longer built via cloning. * <p>Instead the copy policy must in some cases not copy at all. * this allows the stub of the clone to be registered before cloning its parts. */ public Object instantiateWorkingCopyCloneFromRow(AbstractRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWorkImpl unitOfWork) { return this.descriptor.getCopyPolicy().buildWorkingCopyCloneFromRow(row, query, primaryKey, unitOfWork); }
/** * It is now possible to build working copy clones directly from rows. * <p>An intermediary original is no longer needed. * <p>This has ramifications to the copy policy and cmp, for clones are * no longer built via cloning. * <p>Instead the copy policy must in some cases not copy at all. * this allows the stub of the clone to be registered before cloning its parts. */ public Object instantiateWorkingCopyCloneFromRow(AbstractRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWorkImpl unitOfWork) { return this.descriptor.getCopyPolicy().buildWorkingCopyCloneFromRow(row, query, primaryKey, unitOfWork); }
/** * It is now possible to build working copy clones directly from rows. * <p>An intermediary original is no longer needed. * <p>This has ramifications to the copy policy and cmp, for clones are * no longer built via cloning. * <p>Instead the copy policy must in some cases not copy at all. * this allows the stub of the clone to be registered before cloning its parts. */ public Object instantiateWorkingCopyCloneFromRow(AbstractRecord row, ObjectBuildingQuery query, Vector primaryKey, UnitOfWorkImpl unitOfWork) { return this.descriptor.getCopyPolicy().buildWorkingCopyCloneFromRow(row, query, primaryKey, unitOfWork); }