public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.admin.vo.beans.FormReportVoBean bean = null; if (map != null) bean = (ims.admin.vo.beans.FormReportVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.admin.vo.beans.FormReportVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.admin.vo.beans.FormReportVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.form = bean.getForm() == null ? null : new ims.core.configuration.vo.AppFormRefVo( new Integer(bean.getForm().getId()), bean.getForm().getVersion()); this.report = bean.getReport() == null ? null : new ims.core.admin.vo.ReportBoRefVo( new Integer(bean.getReport().getId()), bean.getReport().getVersion()); }