public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.therapies.vo.beans.StrengtheningProgramVoBean bean = null; if (map != null) bean = (ims.therapies.vo.beans.StrengtheningProgramVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.therapies.vo.beans.StrengtheningProgramVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public StrengtheningProgramVo(ims.therapies.vo.beans.StrengtheningProgramVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.authoringinformation = bean.getAuthoringInformation() == null ? null : bean.getAuthoringInformation().buildVo(); this.clinicalcontact = bean.getClinicalContact() == null ? null : new ims.core.admin.vo.ClinicalContactRefVo( new Integer(bean.getClinicalContact().getId()), bean.getClinicalContact().getVersion()); this.comment = bean.getComment(); this.excercise = ims.spinalinjuries.vo.lookups.StrengtheningProgramExerciseCollection .buildFromBeanCollection(bean.getExcercise()); this.limbweight = ims.therapies.vo.StrengtheningProgramLimbWeightVoCollection.buildFromBeanCollection( bean.getLimbWeight()); }