public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.core.vo.beans.GPBean bean = null; if (map != null) bean = (ims.core.vo.beans.GPBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.core.vo.beans.GPBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.GPBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.name = bean.getName() == null ? null : bean.getName().buildVo(map); this.codemappings = ims.core.vo.TaxonomyMapCollection.buildFromBeanCollection(bean.getCodeMappings()); this.commchannels = ims.core.vo.CommChannelVoCollection.buildFromBeanCollection(bean.getCommChannels()); this.practices = ims.core.vo.GpToPracticesVoCollection.buildFromBeanCollection(bean.getPractices()); this.status = bean.getStatus() == null ? null : ims.core.vo.lookups.GPStatus.buildLookup(bean.getStatus()); this.dummyfield = bean.getDummyField(); }