com.ibm.openpages.api.questionnaire

## Interface IQuestionOption

-     public interface IQuestionOption

  This is an interface to access an option of a selection question.
  Category:
    Questionnaire

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getDescription()`
    `java.lang.String` | `getLabel()`
    `java.util.List<java.lang.String>` | `getRequires()` Returns the list of evidence types required by this answer for this question to be considered complete.
    `int` | `getScore()`
    `int` | `getValue()`

- - ### Method Detail

    - #### getLabel

          java.lang.String getLabel()

      Returns:
        label of the option

    - #### getValue

          int getValue()

      Returns:
        value of the option

    - #### getScore

          int getScore()

      Returns:
        score of the option

    - #### getDescription

          java.lang.String getDescription()

      Returns:
        description of this option

    - #### getRequires

          java.util.List<java.lang.String> getRequires()

      Returns the list of evidence types required by this answer for this question to be considered complete.
      Returns:
        List of strings (e.g., ["comment", "attachment"])

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.