public enum AnswerStatus extends Enum<AnswerStatus>
Enum Constant and Description |
---|
DELETED
Deleted form item status.
|
INVALID
Invalid answer status.
|
NORMAL
Normal form item status.
|
Modifier and Type | Field and Description |
---|---|
private int |
type |
Modifier and Type | Method and Description |
---|---|
static AnswerStatus |
deserialize(int type)
Deserialize AnswerStatus.
|
int |
getType()
Gets type.
|
static AnswerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnswerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnswerStatus NORMAL
public static final AnswerStatus DELETED
public static final AnswerStatus INVALID
public static AnswerStatus[] values()
for (AnswerStatus c : AnswerStatus.values()) System.out.println(c);
public static AnswerStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getType()
public static AnswerStatus deserialize(int type)
type
- the typeCopyright © 2025. All rights reserved.