private void createAdditionRemedyDetail(IInstallableUnit iu, Remedy remedy) {
   RemedyIUDetail iuDetail = new RemedyIUDetail(iu);
   iuDetail.setStatus(RemedyIUDetail.STATUS_ADDED);
   iuDetail.setBeingInstalledVersion(iu.getVersion());
   iuDetail.setRequestedVersion(searchInOriginalRequest(iu.getId()));
   remedy.addRemedyIUDetail(iuDetail);
 }
 private void createModificationRemedyDetail(
     IInstallableUnit beingInstalledIU, IInstallableUnit installedIU, Remedy remedy) {
   RemedyIUDetail iuDetail = new RemedyIUDetail(beingInstalledIU);
   iuDetail.setStatus(RemedyIUDetail.STATUS_CHANGED);
   iuDetail.setBeingInstalledVersion(beingInstalledIU.getVersion());
   iuDetail.setInstalledVersion(installedIU.getVersion());
   iuDetail.setRequestedVersion(searchInOriginalRequest(beingInstalledIU.getId()));
   remedy.addRemedyIUDetail(iuDetail);
 }