public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.generalmedical.vo.beans.NeuroSenastionFindingsVoBean bean = null; if (map != null) bean = (ims.generalmedical.vo.beans.NeuroSenastionFindingsVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.generalmedical.vo.beans.NeuroSenastionFindingsVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.generalmedical.vo.beans.NeuroSenastionFindingsVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.rootfinding = ims.generalmedical.vo.NeuroSensationRootValueVoCollection.buildFromBeanCollection( bean.getRootfinding()); this.rightsensorylevel = bean.getRightSensoryLevel() == null ? null : bean.getRightSensoryLevel().buildVo(map); this.leftsensorylevel = bean.getLeftSensoryLevel() == null ? null : bean.getLeftSensoryLevel().buildVo(map); this.franklegrade = bean.getFrankleGrade() == null ? null : ims.spinalinjuries.vo.lookups.MSKSensationFrankelGrade.buildLookup( bean.getFrankleGrade()); this.isproblem = bean.getIsProblem(); this.clinicalcontact = bean.getClinicalContact() == null ? null : bean.getClinicalContact().buildVo(map); this.authoringcp = bean.getAuthoringCP() == null ? null : bean.getAuthoringCP().buildVo(map); this.authoringdatetime = bean.getAuthoringDateTime() == null ? null : bean.getAuthoringDateTime().buildDateTime(); this.carecontext = bean.getCareContext() == null ? null : new ims.core.admin.vo.CareContextRefVo( new Integer(bean.getCareContext().getId()), bean.getCareContext().getVersion()); this.sysinfo = bean.getSysInfo() == null ? null : bean.getSysInfo().buildSystemInformation(); }