public StrengtheningProgramVoBean(ims.therapies.vo.StrengtheningProgramVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.authoringinformation = vo.getAuthoringInformation() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean) vo.getAuthoringInformation().getBean(); this.clinicalcontact = vo.getClinicalContact() == null ? null : new ims.vo.RefVoBean( vo.getClinicalContact().getBoId(), vo.getClinicalContact().getBoVersion()); this.comment = vo.getComment(); this.excercise = vo.getExcercise() == null ? null : vo.getExcercise().getBeanCollection(); this.limbweight = vo.getLimbWeight() == null ? null : vo.getLimbWeight().getBeanCollection(); }
protected void populateScreenFromData(ims.therapies.vo.StrengtheningProgramVo value) { clearScreen(); if (value == null) return; this.form.txtComments().setValue(value.getCommentIsNotNull() ? value.getComment() : null); }