public ims.pathways.vo.PatientJourneyClockInterfaceVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.pathways.vo.PatientJourneyClockInterfaceVo vo = null; if (map != null) vo = (ims.pathways.vo.PatientJourneyClockInterfaceVo) map.getValueObject(this); if (vo == null) { vo = new ims.pathways.vo.PatientJourneyClockInterfaceVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.pathways.vo.PatientJourneyClockInterfaceVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.extclockid = vo.getExtClockId(); this.extclockname = vo.getExtClockName(); this.startdate = vo.getStartDate() == null ? null : (ims.framework.utils.beans.DateBean) vo.getStartDate().getBean(); this.stopdate = vo.getStopDate() == null ? null : (ims.framework.utils.beans.DateBean) vo.getStopDate().getBean(); this.currentpause = vo.getCurrentPause() == null ? null : (ims.pathways.vo.beans.PauseDetailsVoBean) vo.getCurrentPause().getBean(map); this.pausedetails = vo.getPauseDetails() == null ? null : vo.getPauseDetails().getBeanCollection(); }