Exemplo n.º 1
0
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.core.vo.beans.CDSCriticalCareVoBean bean = null;
   if (map != null) bean = (ims.core.vo.beans.CDSCriticalCareVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.core.vo.beans.CDSCriticalCareVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
Exemplo n.º 2
0
 public void populate(
     ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.CDSCriticalCareVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.localid = bean.getLocalId();
   this.startdate = bean.getStartDate() == null ? null : bean.getStartDate().buildDate();
   this.starttime = bean.getStartTime() == null ? null : bean.getStartTime().buildTime();
   this.unitfunction = bean.getUnitFunction();
   this.gestationlen = bean.getGestationLen();
   this.activitydate = bean.getActivityDate() == null ? null : bean.getActivityDate().buildDate();
   this.personweight = bean.getPersonWeight();
   this.activitycode = bean.getActivityCode();
   this.highcostdrugs = bean.getHighCostDrugs();
   this.dischargedate =
       bean.getDischargeDate() == null ? null : bean.getDischargeDate().buildDate();
   this.dischargetime =
       bean.getDischargeTime() == null ? null : bean.getDischargeTime().buildTime();
 }