public enum QuestionStatus extends java.lang.Enum<QuestionStatus>
Enum for various IQuestion status.
| Enum Constant and Description |
|---|
ANSWERED
Represents a status when the question is answered.
|
REJECTED
Represents a status when a reviewer rejects the answer.
|
UNANSWERED
Represents a status when the question is not answered.
|
| Modifier and Type | Method and Description |
|---|---|
static QuestionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuestionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuestionStatus UNANSWERED
public static final QuestionStatus REJECTED
public static final QuestionStatus ANSWERED
public static QuestionStatus[] values()
for (QuestionStatus c : QuestionStatus.values()) System.out.println(c);
public static QuestionStatus 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, 2019. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.