Beispiel #1
0
 public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.LocMostVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.name = bean.getName();
   this.isactive = bean.getIsActive();
   this.isvirtual = bean.getIsVirtual();
   this.type =
       bean.getType() == null
           ? null
           : ims.core.vo.lookups.LocationType.buildLookup(bean.getType());
   this.displayinedtracking = bean.getDisplayInEDTracking();
   this.casenotefolderlocation = bean.getCaseNoteFolderLocation();
   this.address = bean.getAddress() == null ? null : bean.getAddress().buildVo(map);
   this.secureaccommodation = bean.getSecureAccommodation();
   this.treatinghosp = bean.getTreatingHosp();
   this.referringhospital = bean.getReferringHospital();
   this.codemappings =
       ims.core.vo.TaxonomyMapCollection.buildFromBeanCollection(bean.getCodeMappings());
   this.locations = ims.core.vo.LocMostVoCollection.buildFromBeanCollection(bean.getLocations());
   this.parentlocation =
       bean.getParentLocation() == null ? null : bean.getParentLocation().buildVo(map);
   this.printers = ims.admin.vo.PrinterVoCollection.buildFromBeanCollection(bean.getPrinters());
   this.defaultprinter =
       bean.getDefaultPrinter() == null ? null : bean.getDefaultPrinter().buildVo(map);
   this.designatedprinterfornewresults =
       bean.getDesignatedPrinterForNewResults() == null
           ? null
           : bean.getDesignatedPrinterForNewResults().buildVo(map);
   this.designatedprinterforocsorder =
       bean.getDesignatedPrinterForOCSOrder() == null
           ? null
           : bean.getDesignatedPrinterForOCSOrder().buildVo(map);
 }