public interface

WebHyperLinkAnswers

com.microstrategy.web.objects.WebHyperLinkAnswers

Class Overview

The WebHyperLinkAnswers interface represents the collection of WebHyperLinkAnswer associated with a WebHyperLink's all prompts. This interface is only applicable for executable Hyperlink.

Summary

Public Methods
abstract WebHyperLinkAnswer add()
Adds an answer to the answer collection
abstract void clear()
Removes all answers in answer collection, the collection will be empty after this call returns
abstract Iterator elements()
Returns an iterator over the answer collection
abstract WebHyperLinkAnswer get(int i)
Returns the i-th answer unit
abstract WebHyperLinkAnswer get(WebPrompt prompt)
Returns the answer corresponding to a prompt object.
abstract int size()
Returns number of answer units

Public Methods

public abstract WebHyperLinkAnswer add ()

Adds an answer to the answer collection

Returns

public abstract void clear ()

Removes all answers in answer collection, the collection will be empty after this call returns

public abstract Iterator elements ()

Returns an iterator over the answer collection

Returns
  • an Iterator over the answer collection

public abstract WebHyperLinkAnswer get (int i)

Returns the i-th answer unit

Parameters
i the index of answers, it is zero based
Returns

public abstract WebHyperLinkAnswer get (WebPrompt prompt)

Returns the answer corresponding to a prompt object.

Returns
  • the answer.

public abstract int size ()

Returns number of answer units

Returns
  • number of answer units