Interface MultipleChoice

All Known Implementing Classes:
MultiChoiceQuestion, MultiChoiceQuestionProfile, RoutePlotQuestion, RoutePlotQuestionProfile

public interface MultipleChoice
An interface to mark Multiple-Choice questions and question profiles.
Since:
1.0
Version:
1.0
Author:
Luke
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChoice(String choice)
    Adds a choice to the list of choices for this question.
    Returns the available answer choices for this question.
  • Method Details

    • addChoice

      void addChoice(String choice)
      Adds a choice to the list of choices for this question.
      Parameters:
      choice - the text
    • getChoices

      Collection<String> getChoices()
      Returns the available answer choices for this question.
      Returns:
      a Collection of choice Strings