public ims.therapies.vo.StrengtheningProgramVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.therapies.vo.StrengtheningProgramVo vo = null; if (map != null) vo = (ims.therapies.vo.StrengtheningProgramVo) map.getValueObject(this); if (vo == null) { vo = new ims.therapies.vo.StrengtheningProgramVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
protected ims.therapies.vo.StrengtheningProgramVo populateDataFromScreen( ims.therapies.vo.StrengtheningProgramVo value) { if (value == null) value = new ims.therapies.vo.StrengtheningProgramVo(); value.setComment(this.form.txtComments().getValue()); return value; }
protected void populateScreenFromData(ims.therapies.vo.StrengtheningProgramVo value) { clearScreen(); if (value == null) return; this.form.txtComments().setValue(value.getCommentIsNotNull() ? value.getComment() : null); }
public void populate(ims.vo.ValueObjectBeanMap map, 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(map); 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(); }