コード例 #1
0
ファイル: LocMostVo.java プロジェクト: HobbesFNM/openMAXIMS
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.core.vo.beans.LocMostVoBean bean = null;
   if (map != null) bean = (ims.core.vo.beans.LocMostVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.core.vo.beans.LocMostVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
コード例 #2
0
ファイル: LocMostVo.java プロジェクト: HobbesFNM/openMAXIMS
 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);
 }