コード例 #1
0
 public ims.therapies.vo.MobilisationsTreatmentVo buildVo(ims.vo.ValueObjectBeanMap map) {
   ims.therapies.vo.MobilisationsTreatmentVo vo = null;
   if (map != null) vo = (ims.therapies.vo.MobilisationsTreatmentVo) map.getValueObject(this);
   if (vo == null) {
     vo = new ims.therapies.vo.MobilisationsTreatmentVo();
     map.addValueObject(this, vo);
     vo.populate(map, this);
   }
   return vo;
 }
コード例 #2
0
 public MobilisationsTreatmentVoBean(ims.therapies.vo.MobilisationsTreatmentVo vo) {
   this.id = vo.getBoId();
   this.version = vo.getBoVersion();
   this.treatmenttype =
       vo.getTreatmentType() == null
           ? null
           : (ims.vo.LookupInstanceBean) vo.getTreatmentType().getBean();
   this.other = vo.getOther();
   this.reason = vo.getReason();
   this.areatreated = vo.getAreaTreated();
   this.sysinfo = vo.getSysInfo() == null ? null : (ims.vo.SysInfoBean) vo.getSysInfo().getBean();
 }