public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.core.vo.beans.AssessmentQuestionShortVoBean bean = null; if (map != null) bean = (ims.core.vo.beans.AssessmentQuestionShortVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.core.vo.beans.AssessmentQuestionShortVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.AssessmentQuestionShortVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.ismandatory = bean.getIsMandatory(); this.activestatus = bean.getActiveStatus() == null ? null : ims.core.vo.lookups.PreActiveActiveInactiveStatus.buildLookup(bean.getActiveStatus()); this.sequence = bean.getSequence(); this.allowsmultipleanswers = bean.getAllowsMultipleAnswers(); this.isnonstandard = bean.getIsNonStandard(); this.url = bean.getURL(); this.protocol = bean.getProtocol(); this.legendtext = bean.getLegendText(); }