Package com.microstrategy.web.objects
Interface WebHyperLinkAnswers
-
public interface WebHyperLinkAnswersThe WebHyperLinkAnswers interface represents the collection ofWebHyperLinkAnswerassociated 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 WebHyperLinkAnsweradd()Adds an answer to the answer collectionvoidclear()Removes all answers in answer collection, the collection will be empty after this call returnsjava.util.Iteratorelements()Returns an iterator over the answer collectionWebHyperLinkAnswerget(int i)Returns the i-th answer unitWebHyperLinkAnswerget(WebPrompt prompt)Returns the answer corresponding to a prompt object.intsize()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
WebHyperLinkAnswerrepresenting the i-th answer unit
-
elements
java.util.Iterator elements()
Returns an iterator over the answer collection- Returns:
- an
Iteratorover 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.
-
-