public enum SurveyFormat extends java.lang.Enum<SurveyFormat>
Enum Constant and Description |
---|
SURVEY_FORMAT_SMILEY |
SURVEY_FORMAT_STAR |
SURVEY_FORMAT_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static SurveyFormat |
getEnum(int value)
Get enum from its numeric value.
|
int |
getNumValue() |
java.lang.String |
getTextValue() |
static SurveyFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SurveyFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurveyFormat SURVEY_FORMAT_STAR
public static final SurveyFormat SURVEY_FORMAT_SMILEY
public static final SurveyFormat SURVEY_FORMAT_UNKNOWN
public static SurveyFormat[] values()
public static SurveyFormat 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 nullpublic int getNumValue()
public java.lang.String getTextValue()
public static SurveyFormat getEnum(int value)