|
|
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AbstractTypedAnswer | |
|---|---|
| org.torweg.pulse.component.survey.model | is the model of the survey bundle. |
| Uses of AbstractTypedAnswer in org.torweg.pulse.component.survey.model |
|---|
| Subclasses of AbstractTypedAnswer in org.torweg.pulse.component.survey.model | |
|---|---|
class |
OpenQuestionAnswer
Is an answer to a AbstractQuestion that has only one value. |
class |
QuestionGroupAnswer
The {@code AbstractTypedAnswer |
class |
SelectQuestionAnswer
Is an answer to a AbstractQuestion that has multiple values. |
| Methods in org.torweg.pulse.component.survey.model that return AbstractTypedAnswer | |
|---|---|
AbstractTypedAnswer<?> |
Questionnaire.getAnswer(AbstractQuestion quest)
Returns the {@code AbstractTypedAnswer<? |
AbstractTypedAnswer<?> |
QuestionGroupAnswer.getAnswer(AbstractQuestion quest)
Returns the {@code AbstractTypedAnswer |
AbstractTypedAnswer<?> |
SelectQuestion.getAnswer(ServiceRequest request)
Tries to extract the answer to the SelectQuestion from the
given ServiceRequest. |
AbstractTypedAnswer<?> |
QuestionGroup.getAnswer(ServiceRequest request)
Tries to extract the answer to the QuestionGroup from the
given ServiceRequest. |
AbstractTypedAnswer<?> |
OpenQuestion.getAnswer(ServiceRequest request)
Tries to extract the answer to the OpenQuestion from the
given ServiceRequest. |
abstract AbstractTypedAnswer<?> |
AbstractQuestion.getAnswer(ServiceRequest request)
Returns the {@code AbstractTypedAnswer<? |
| Methods in org.torweg.pulse.component.survey.model that return types with arguments of type AbstractTypedAnswer | |
|---|---|
java.util.List<? extends AbstractTypedAnswer<?>> |
Questionnaire.getAnswers()
Returns the answers of the Questionnaire. |
java.util.List<AbstractTypedAnswer<?>> |
QuestionGroupAnswer.getValue()
Returns the value of the QuestionGroupAnswer. |
| Methods in org.torweg.pulse.component.survey.model with parameters of type AbstractTypedAnswer | |
|---|---|
boolean |
Questionnaire.addAnswer(AbstractTypedAnswer<?> answer)
Adds an {@code AbstractTypedAnswer<? |
boolean |
SelectQuestion.isValid(AbstractTypedAnswer<?> answer)
Checks the given {@code AbstractTypedAnswer |
boolean |
QuestionGroup.isValid(AbstractTypedAnswer<?> answer)
Checks the given {@code AbstractTypedAnswer<? |
boolean |
OpenQuestion.isValid(AbstractTypedAnswer<?> answer)
Checks the given {@code AbstractTypedAnswer |
abstract boolean |
AbstractQuestion.isValid(AbstractTypedAnswer<?> answer)
Checks the given {@code AbstractTypedAnswer<? |
| Constructor parameters in org.torweg.pulse.component.survey.model with type arguments of type AbstractTypedAnswer | |
|---|---|
QuestionGroupAnswer(AbstractQuestion quest,
java.util.List<AbstractTypedAnswer<?>> val)
Creates a new QuestionGroupAnswer with the given
val and the given AbstractQuestion. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||