Class YesNoQuestion


public abstract class YesNoQuestion extends ChoiceQuestion
A question to which the response is yes or no.
  • Field Details

  • Constructor Details

    • YesNoQuestion

      protected YesNoQuestion(Interview interview, String tag)
      Create a question with a nominated tag. If this constructor is used, the choices must be supplied separately.
      Parameters:
      interview - The interview containing this question.
      tag - A unique tag to identify this specific question.
    • YesNoQuestion

      protected YesNoQuestion(Interview interview, String tag, String defaultValue)
      Create a question with a nominated tag. If this constructor is used, the choices must be supplied separately.
      Parameters:
      interview - The interview containing this question.
      tag - A unique tag to identify this specific question.
      defaultValue - A default value for the question; this must be one of null, YES, or NO.
  • Method Details