public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.icp.vo.beans.ICPLiteVoBean bean = null; if (map != null) bean = (ims.icp.vo.beans.ICPLiteVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.icp.vo.beans.ICPLiteVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.icp.vo.beans.ICPLiteVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.name = bean.getName(); this.description = bean.getDescription(); this.status = bean.getStatus() == null ? null : ims.core.vo.lookups.PreActiveActiveInactiveStatus.buildLookup(bean.getStatus()); }