public ims.core.vo.VTERiskAssessmentWorklistVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.VTERiskAssessmentWorklistVo vo = null; if (map != null) vo = (ims.core.vo.VTERiskAssessmentWorklistVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.VTERiskAssessmentWorklistVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.VTERiskAssessmentWorklistVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.admissiondatetime = vo.getAdmissionDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean) vo.getAdmissionDateTime().getBean(); this.pasevent = vo.getPasEvent() == null ? null : (ims.core.vo.beans.PASEventForVTERiskAssessmentVoBean) vo.getPasEvent().getBean(map); this.vteassessmentstatus = vo.getVTEAssessmentStatus() == null ? null : (ims.vo.LookupInstanceBean) vo.getVTEAssessmentStatus().getBean(); this.wardstays = vo.getWardStays() == null ? null : vo.getWardStays().getBeanCollection(); this.vteassessmentstatusreason = vo.getVTEAssessmentStatusReason() == null ? null : (ims.vo.LookupInstanceBean) vo.getVTEAssessmentStatusReason().getBean(); }