Class YesNoQuestion

    • Field Detail

      • YES

        public static final java.lang.String YES
        A value for an affirmative response.
        See Also:
        Constant Field Values
      • NO

        public static final java.lang.String NO
        A value for a negative response.
        See Also:
        Constant Field Values
    • Constructor Detail

      • YesNoQuestion

        protected YesNoQuestion​(Interview interview,
                                java.lang.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,
                                java.lang.String tag,
                                java.lang.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.