com.ibm.openpages.api.resource

## Interface IEnumAnswer

- All Superinterfaces:
    IEnumValue

      public interface IEnumAnswer
      extends IEnumValue

  Represents elements of an enumerated answer.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `ATTACHMENT` Required evidence type for attachment
    `static java.lang.String` | `COMMENT` Required evidence type for comment

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<java.lang.String>` | `getRequires()` Returns the list of evidence types required by this answer.
    `java.lang.Integer` | `getScore()` Returns score of this enumerated answer.

    - ### Methods inherited from interface com.ibm.openpages.api.metadata.IEnumValue

      `getDescription, getId, getIndex, getLocalizedLabel, getLocalizedLabels, getName, getParentId, getParentName, isHidden`

- - ### Field Detail

    - #### COMMENT

          static final java.lang.String COMMENT

      Required evidence type for comment
      See Also:
        Constant Field Values

    - #### ATTACHMENT

          static final java.lang.String ATTACHMENT

      Required evidence type for attachment
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getScore

          java.lang.Integer getScore()

      Returns score of this enumerated answer.
      Returns:

    - #### getRequires

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

      Returns the list of evidence types required by this answer.
      Returns:

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.