com.ibm.openpages.api.questionnaire

## Interface ISection

- All Superinterfaces:
    IQuestionnaireBase

      public interface ISection
      extends IQuestionnaireBase

  This is an interface to access a section and a subsection for both template and response.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Integer` | `getAnswerCount()`
    `java.lang.Float` | `getMaxRiskScore()`
    `java.lang.Float` | `getScore()`
    `java.lang.Integer` | `getTotalCount()`
    `int` | `getWeight()`
    `void` | `setWeight(int weight)` Sets the weight of the section.

    - ### Methods inherited from interface com.ibm.openpages.api.questionnaire.IQuestionnaireBase

      `getDescription, getId, getOrder, getParentId, getRationale, getReference, getReportID, getTitle, setDescription, setOrder, setRationale, setReference, setTitle`

- - ### Method Detail

    - #### getWeight

          int getWeight()

      Returns:
        weight of the section

    - #### setWeight

          void setWeight(int weight)

      Sets the weight of the section.
      Parameters:
        `weight` -

    - #### getScore

          java.lang.Float getScore()

      Returns:
        score of the section

    - #### getMaxRiskScore

          java.lang.Float getMaxRiskScore()

      Returns:
        maximum risk score of the section

    - #### getAnswerCount

          java.lang.Integer getAnswerCount()

      Returns:
        the number of answered questions

    - #### getTotalCount

          java.lang.Integer getTotalCount()

      Returns:
        the number of total questions

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.