Interface WebConstantPromptAnswer

    • Method Detail

      • getAnswer

        java.lang.String getAnswer()
        Returns the prompt answer to a constant prompt.
        Returns:
        the prompt answer to a constant prompt.
      • setAnswer

        void setAnswer​(java.lang.String answer)
                throws WebObjectsException
        Sets a constant prompt answer. A constant prompt question object must be set before calling this method to set a promp answer.
        Parameters:
        answer - the prompt answer to a constant prompt.
        Throws:
        WebObjectsException - thrown if the answer is invalid.