## Uses of Interface
com.ibm.openpages.api.questionnaire.IQuestionOption

- Packages that use IQuestionOption
  Package | Description
  --- | ---
  com.ibm.openpages.api.questionnaire | This package and its components provides access to questionnaire objects.

- - ### Uses of IQuestionOption in com.ibm.openpages.api.questionnaire

    Methods in com.ibm.openpages.api.questionnaire that return IQuestionOption
    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)` .

    Methods in com.ibm.openpages.api.questionnaire that return types with arguments of type IQuestionOption
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<IQuestionOption>` | IQuestion.`getOptions()` Returns list of `IQuestionOption` for a selection question.

    Method parameters in com.ibm.openpages.api.questionnaire with type arguments of type IQuestionOption
    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, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.