Package com.microstrategy.web.objects
Interface WebHyperLinkAnswers
-
public interface WebHyperLinkAnswers
The WebHyperLinkAnswers interface represents the collection ofWebHyperLinkAnswer
associated with aWebHyperLink
's all prompts. This interface is only applicable for executable Hyperlink.- Since:
- MicroStrategy Web 8.1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebHyperLinkAnswer
add()
Adds an answer to the answer collectionvoid
clear()
Removes all answers in answer collection, the collection will be empty after this call returnsjava.util.Iterator
elements()
Returns an iterator over the answer collectionWebHyperLinkAnswer
get(int i)
Returns the i-th answer unitWebHyperLinkAnswer
get(WebPrompt prompt)
Returns the answer corresponding to a prompt object.int
size()
Returns number of answer units
-
-
-
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
-
add
WebHyperLinkAnswer add()
Adds an answer to the answer collection- Returns:
- a
WebHyperLinkAnswer
- Since:
- MicroStrategy Web 9.0.0
-
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.
-
-