public ims.core.vo.ModalityReportsVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.ModalityReportsVo vo = null; if (map != null) vo = (ims.core.vo.ModalityReportsVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.ModalityReportsVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.ModalityReportsVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.modality = vo.getModality() == null ? null : (ims.core.vo.beans.ServiceLiteVoBean) vo.getModality().getBean(map); this.dftreport = vo.getDFTReport(); this.sysinfo = vo.getSysInfo() == null ? null : (ims.vo.SysInfoBean) vo.getSysInfo().getBean(); this.template = vo.getTemplate() == null ? null : (ims.admin.vo.beans.ReportTemplateLiteVoBean) vo.getTemplate().getBean(map); }