public ims.emergency.vo.EDTransferVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.emergency.vo.EDTransferVo vo = null; if (map != null) vo = (ims.emergency.vo.EDTransferVo) map.getValueObject(this); if (vo == null) { vo = new ims.emergency.vo.EDTransferVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.emergency.vo.EDTransferVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.referreddatetime = vo.getReferredDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean) vo.getReferredDateTime().getBean(); this.accepteddatetime = vo.getAcceptedDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean) vo.getAcceptedDateTime().getBean(); this.tohospital = vo.getToHospital() == null ? null : (ims.vo.LookupInstanceBean) vo.getToHospital().getBean(); this.otherhospital = vo.getOtherHospital(); this.transfermode = vo.getTransferMode() == null ? null : (ims.vo.LookupInstanceBean) vo.getTransferMode().getBean(); this.transferescort = vo.getTransferEscort() == null ? null : (ims.vo.LookupInstanceBean) vo.getTransferEscort().getBean(); this.comment = vo.getComment(); }