public ims.core.vo.ExternalResourceVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.ExternalResourceVo vo = null; if (map != null) vo = (ims.core.vo.ExternalResourceVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.ExternalResourceVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.ExternalResourceVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.externalresourcetype = vo.getExternalResourceType() == null ? null : (ims.vo.LookupInstanceBean) vo.getExternalResourceType().getBean(); this.hcptype = vo.getHCPType() == null ? null : (ims.vo.LookupInstanceBean) vo.getHCPType().getBean(); this.resourceaddress = vo.getResourceAddress() == null ? null : (ims.core.vo.beans.PersonAddressBean) vo.getResourceAddress().getBean(map); this.resourcestatus = vo.getResourceStatus() == null ? null : (ims.vo.LookupInstanceBean) vo.getResourceStatus().getBean(); this.resourcename = vo.getResourcename(); }