Interface ClientQuestion<T extends ClientAnswer>
- Type Parameters:
T
- generic parameter describing theClientAnswer
we might expect for this question.
- All Known Implementing Classes:
AbstractClientQuestion
,AbstractConfirmClientQuestion
,ConfirmClientQuestion
,YesNoClientQuestion
public interface ClientQuestion<T extends ClientAnswer>
Interface for a question to be asked the user.
-
Method Summary
-
Method Details
-
getQuestionId
String getQuestionId()- Returns:
- a unique id identifying this question (used to connect the
ClientAnswer
-object with this question)
-
getClientHandlerName
String getClientHandlerName()- Returns:
- the name of the client handler JS-class as registered in the nice2.netui.clientquestion.ClientQuestionHandlerRegistry
-
getType
String getType() -
getAnswerClass
-
isRemoveAnswerAfterAccess
boolean isRemoveAnswerAfterAccess()- Returns:
- true if any saved answer should be removed after reading it to ensure it does not get reused
-