public ims.core.vo.MetricsForNursingNotesVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.MetricsForNursingNotesVo vo = null; if (map != null) vo = (ims.core.vo.MetricsForNursingNotesVo) map.getValueObject(this); if (vo == null) { vo = new ims.core.vo.MetricsForNursingNotesVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.MetricsForNursingNotesVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.heightvalue = vo.getHeightValue(); this.weightvalue = vo.getWeightValue(); this.bmi = vo.getBMI(); this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion()); }