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

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

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

    Methods in com.ibm.openpages.api.questionnaire that return IQuestion
    Modifier and Type | Method and Description
    --- | ---
    `IQuestion` | IQuestionnaireFactory.`createQuestion(Id parentSubSectionId)` Creates a question object in memory, which is persisted via `IQuestionnaireService.saveQuestionnaire(IQuestionnaire)` after being added to `IQuestionnaire` by `IQuestionnaire.addQuestion(IQuestion)`.
    `IQuestion` | IQuestionnaire.`getQuestionBy(Id id)` Returns a question that has the specified id.

    Methods in com.ibm.openpages.api.questionnaire that return types with arguments of type IQuestion
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<IQuestion>` | IQuestionnaire.`getQuestions()` Returns a list of questions, sorted by the order configured on the child objects.

    Methods in com.ibm.openpages.api.questionnaire with parameters of type IQuestion
    Modifier and Type | Method and Description
    --- | ---
    `void` | IQuestionnaire.`addQuestion(IQuestion question)` Add a question to the questionnaire.

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.