public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.therapies.vo.beans.PowerchairSkillsAssessmentVoBean bean = null; if (map != null) bean = (ims.therapies.vo.beans.PowerchairSkillsAssessmentVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.therapies.vo.beans.PowerchairSkillsAssessmentVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.therapies.vo.beans.PowerchairSkillsAssessmentVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.powerchairskill = bean.getPowerchairSkill() == null ? null : ims.spinalinjuries.vo.lookups.PowerchairSkill.buildLookup(bean.getPowerchairSkill()); this.powerchairskillasslevel = bean.getPowerchairSkillAssLevel() == null ? null : ims.spinalinjuries.vo.lookups.PowerchairSkillAssessedLevel.buildLookup( bean.getPowerchairSkillAssLevel()); }