| com.microstrategy.web.objects.WebHyperLinkAnswers |
The WebHyperLinkAnswers interface represents the collection of WebHyperLinkAnswer associated with
a WebHyperLink's all prompts.
This interface is only applicable for executable Hyperlink.
| 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
| ||||||||||
Removes all answers in answer collection, the collection will be empty after this call returns
Returns an iterator over the answer collection
Returns the i-th answer unit
| i | the index of answers, it is zero based |
|---|
WebHyperLinkAnswer representing the i-th answer unit
Returns the answer corresponding to a prompt object.
Returns number of answer units