Package uk.ac.osswatch.simal.ssmm.model

Examples of uk.ac.osswatch.simal.ssmm.model.Question


   * @param infoQuestions2 the questions to ask
   */
  private static void askAll(QuestionSet infoQuestions2) {
    Iterator<Question> itr = infoQuestions2.values().iterator();
    while (itr.hasNext()) {
      Question question = itr.next();
      ask(question);
    }
  }
View Full Code Here


   * @param infoQuestions2
   */
  private static void reportAll(QuestionSet infoQuestions2) {
    Iterator<Question> itr = infoQuestions2.values().iterator();
    while (itr.hasNext()) {
      Question question = itr.next();
      System.out.print(question.getLabel());
      System.out.print(": ");
      System.out.println(question.getAnswer());
    }
  }
View Full Code Here

import uk.ac.osswatch.simal.ssmm.model.QuestionSet;

public class InfoQuestions extends QuestionSet {

  public InfoQuestions() {
    Question question = new Question("Project name", "What is the project name?", "Please provide a project name.");
    put(question.getLabel(), question);
        question = new Question("Project URL", "What is the URL for the project?", "Please provide a project URL.");
      put(question.getLabel(), question);
      question = new Question("Contact Name", "What is your name?", "It is useful for us to thave the name of the person completing this set of questions in case we need to talk to the project about your responses.");
      put(question.getLabel(), question);
      question = new Question("Contact EMail", "What is your email address?", "It is useful for us to thave your email so that we can keep you informed about updates to this set of questions.");
      put(question.getLabel(), question);
  }
View Full Code Here

TOP

Related Classes of uk.ac.osswatch.simal.ssmm.model.Question

Copyright © 2018 www.massapicom. 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.