Class ConfirmClientAnswer
java.lang.Object
ch.tocco.nice2.web.core.api.clientquestion.ClientAnswerWithOrigin
ch.tocco.nice2.web.core.api.clientquestion.ConfirmClientAnswer
- All Implemented Interfaces:
ClientAnswer
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClientAnswer
ClientAnswer.AnswerOrigin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the answer as selected by the user.static ConfirmClientAnswerno()voidvoidsetQuestionId(String id) static ConfirmClientAnsweryes()Methods inherited from class ClientAnswerWithOrigin
getOrigin, setOriginMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClientAnswer
isUserAnswer
-
Constructor Details
-
ConfirmClientAnswer
public ConfirmClientAnswer() -
ConfirmClientAnswer
-
-
Method Details
-
setAnswer
-
getAnswer
This method returns the answer as selected by the user. Returns true if option "YES" was selected, false otherwise, unless the flow of control did not return to the server.- Returns:
- the answer as selected by the user.
-
setQuestionId
-
getQuestionId
-
yes
-
no
-