Class ErrorQuestion


public class ErrorQuestion extends NullQuestion
A "null" question with no response. In effect, this posts the text, which must simply be acknowledged. ErrorQuestions have no successor.
  • Constructor Details

    • ErrorQuestion

      public ErrorQuestion(Interview interview, String tag)
      Create a question with a nominated tag.
      Parameters:
      interview - The interview containing this question.
      tag - A unique tag to identify this specific question.
  • Method Details

    • getNext

      public final Question getNext()
      Description copied from class: Question
      Get the next question to be asked.
      Specified by:
      getNext in class Question
      Returns:
      the next question to be asked
    • isValueValid

      public boolean isValueValid()
      Description copied from class: NullQuestion
      A NullQuestion does not have a value, and so this method always returns true.
      Overrides:
      isValueValid in class NullQuestion
      Returns:
      true
    • isValueAlwaysValid

      public boolean isValueAlwaysValid()
      Description copied from class: NullQuestion
      A NullQuestion does not have a value, and so this method always returns true.
      Overrides:
      isValueAlwaysValid in class NullQuestion
      Returns:
      true
    • getTextMimeType

      public String getTextMimeType()