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 Detail

      • ErrorQuestion

        public ErrorQuestion​(Interview interview,
                             java.lang.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 Detail

      • 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 java.lang.String getTextMimeType()