Interface WebHyperLinkAnswers


  • public interface WebHyperLinkAnswers
    The WebHyperLinkAnswers interface represents the collection of WebHyperLinkAnswer associated with a WebHyperLink's all prompts. This interface is only applicable for executable Hyperlink.
    Since:
    MicroStrategy Web 8.1.2
    • Method Detail

      • size

        int size()
        Returns number of answer units
        Returns:
        number of answer units
      • get

        WebHyperLinkAnswer get​(int i)
        Returns the i-th answer unit
        Parameters:
        i - the index of answers, it is zero based
        Returns:
        A WebHyperLinkAnswer representing the i-th answer unit
      • elements

        java.util.Iterator elements()
        Returns an iterator over the answer collection
        Returns:
        an Iterator over the answer collection
      • clear

        void clear()
        Removes all answers in answer collection, the collection will be empty after this call returns
        Since:
        MicroStrategy Web 9.0.0
      • get

        WebHyperLinkAnswer get​(WebPrompt prompt)
        Returns the answer corresponding to a prompt object.
        Parameters:
        prompt -
        Returns:
        the answer.