public enum GoalRecurrence extends java.lang.Enum<GoalRecurrence>
Enum Constant and Description |
---|
CUSTOM |
DAILY |
INVALID |
MONTHLY |
OFF |
WEEKLY |
YEARLY |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static GoalRecurrence |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(GoalRecurrence value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static GoalRecurrence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GoalRecurrence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoalRecurrence OFF
public static final GoalRecurrence DAILY
public static final GoalRecurrence WEEKLY
public static final GoalRecurrence MONTHLY
public static final GoalRecurrence YEARLY
public static final GoalRecurrence CUSTOM
public static final GoalRecurrence INVALID
public static GoalRecurrence[] values()
for (GoalRecurrence c : GoalRecurrence.values()) System.out.println(c);
public static GoalRecurrence 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 static GoalRecurrence getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(GoalRecurrence value)
value
- The enum constantpublic short getValue()