| Package | Description |
|---|---|
| com.ibm.openpages.api.questionnaire |
This package and its components provides access to questionnaire objects.
|
| Modifier and Type | Method and Description |
|---|---|
IQuestionOption |
IQuestionnaireFactory.createQuestionOption(java.lang.String label,
int value,
java.lang.String description,
java.lang.Integer score,
java.util.List<java.lang.String> requires)
Creates a question option object in memory, which is persisted via
IQuestionnaireService.saveQuestionnaire(IQuestionnaire)
after being added to IQuestion by IQuestion.setOptions(List) . |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IQuestionOption> |
IQuestion.getOptions()
Returns list of
IQuestionOption for a selection question. |
| Modifier and Type | Method and Description |
|---|---|
void |
IQuestion.setOptions(java.util.List<IQuestionOption> options)
Sets options for selection question.
|
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.