コード例 #1
0
 public ims.ccosched.vo.ActivityViewPatientVo buildVo(ims.vo.ValueObjectBeanMap map) {
   ims.ccosched.vo.ActivityViewPatientVo vo = null;
   if (map != null) vo = (ims.ccosched.vo.ActivityViewPatientVo) map.getValueObject(this);
   if (vo == null) {
     vo = new ims.ccosched.vo.ActivityViewPatientVo();
     map.addValueObject(this, vo);
     vo.populate(map, this);
   }
   return vo;
 }
コード例 #2
0
 public void populate(ims.vo.ValueObjectBeanMap map, ims.ccosched.vo.ActivityViewPatientVo vo) {
   this.hospnum = vo.getHospNum();
   this.name = vo.getName();
   this.wait = vo.getWait();
   this.priority = vo.getPriority();
   this.actionstatus = vo.getActionStatus();
   this.startdate =
       vo.getStartDate() == null
           ? null
           : (ims.framework.utils.beans.DateBean) vo.getStartDate().getBean();
   this.enddate =
       vo.getEndDate() == null
           ? null
           : (ims.framework.utils.beans.DateBean) vo.getEndDate().getBean();
   this.consultant = vo.getConsultant();
 }