Class AbstractClientQuestion<T extends ClientAnswer>
java.lang.Object
ch.tocco.nice2.web.core.api.clientquestion.AbstractClientQuestion<T>
- All Implemented Interfaces:
ClientQuestion<T>
- Direct Known Subclasses:
AbstractConfirmClientQuestion
public abstract class AbstractClientQuestion<T extends ClientAnswer>
extends Object
implements ClientQuestion<T>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.web.core.api.clientquestion.ClientQuestion
getAnswerClass, getClientHandlerName
-
Constructor Details
-
AbstractClientQuestion
-
-
Method Details
-
getQuestionId
- Specified by:
getQuestionId
in interfaceClientQuestion<T extends ClientAnswer>
- Returns:
- a unique id identifying this question (used to connect the
ClientAnswer
-object with this question)
-
getType
- Specified by:
getType
in interfaceClientQuestion<T extends ClientAnswer>
-
removeAnswerAfterAccess
-
isRemoveAnswerAfterAccess
public boolean isRemoveAnswerAfterAccess()- Specified by:
isRemoveAnswerAfterAccess
in interfaceClientQuestion<T extends ClientAnswer>
- Returns:
- true if any saved answer should be removed after reading it to ensure it does not get reused
-