public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.MedicGradeVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.grade = bean.getGrade() == null ? null : ims.core.vo.lookups.MedicGrade.buildLookup(bean.getGrade()); }
public MedicGradeVo(ims.core.vo.beans.MedicGradeVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.grade = bean.getGrade() == null ? null : ims.core.vo.lookups.MedicGrade.buildLookup(bean.getGrade()); }
public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.core.vo.beans.MedicGradeVoBean bean = null; if (map != null) bean = (ims.core.vo.beans.MedicGradeVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.core.vo.beans.MedicGradeVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }