public enum AnswerType extends java.lang.Enum<AnswerType>
Enum for various IQuestion answer types supported by the API.
| Enum Constant and Description |
|---|
MULTI_CHECK
represents an answer type for multiple choice enum
|
RADIO
represents an answer type for single choice enum
|
TABLE_ANSWER
represents an answer type for table answer, less than 4000 bytes
|
TEXT
represents an answer type for single line text
|
TEXT_AREA
represents an answer type for multi line text, less than 4000 bytes
|
| Modifier and Type | Method and Description |
|---|---|
static AnswerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnswerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnswerType RADIO
public static final AnswerType MULTI_CHECK
public static final AnswerType TEXT
public static final AnswerType TEXT_AREA
public static final AnswerType TABLE_ANSWER
public static AnswerType[] values()
for (AnswerType c : AnswerType.values()) System.out.println(c);
public static AnswerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.