public ims.core.vo.PatientForOutpatientBookingWorklistVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.PatientForOutpatientBookingWorklistVo vo = null; if (map != null) vo = (ims.core.vo.PatientForOutpatientBookingWorklistVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.PatientForOutpatientBookingWorklistVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.core.vo.PatientForOutpatientBookingWorklistVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.name = vo.getName() == null ? null : (ims.core.vo.beans.PersonNameBean) vo.getName().getBean(map); this.dob = vo.getDob() == null ? null : (ims.framework.utils.beans.PartialDateBean) vo.getDob().getBean(); this.identifiers = vo.getIdentifiers() == null ? null : vo.getIdentifiers().getBeanCollection(); }