public ims.core.vo.ClinicalTeamVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.ClinicalTeamVo vo = null; if (map != null) vo = (ims.core.vo.ClinicalTeamVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.ClinicalTeamVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.ClinicalTeamVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.teamname = vo.getTeamName(); this.teamtype = vo.getTeamType() == null ? null : (ims.vo.LookupInstanceBean) vo.getTeamType().getBean(); this.teammembers = vo.getTeamMembers() == null ? null : vo.getTeamMembers().getBeanCollection(); this.leadhcp = vo.getLeadHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean) vo.getLeadHCP().getBean(map); this.isactive = vo.getIsActive(); }