Examples of AnswerIndex


Examples of org.webcamp.questionary.dto.AnswerIndex

      String name = (String) paramName;
      if (name.startsWith(PARAM_PREFIX)) {
        String stringIdx = name.substring(PARAM_PREFIX.length());
        Integer idx = Integer.valueOf(stringIdx);

        AnswerIndex ai = new AnswerIndex();
        ai.setIndex(idx);
        ai.setAnswer(progress.getCurrentQuestion().getAnswers().get(idx));
        userAnswers.add(ai);
      }
    }
    progress.getAnswers().add(userAnswers);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.