public enum SafetyGlucoseAlert extends java.lang.Enum<SafetyGlucoseAlert>
Enum Constant and Description |
---|
HYPER_ALERT |
HYPO_ALERT |
NO_ALERT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlertMessage() |
static SafetyGlucoseAlert |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SafetyGlucoseAlert[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SafetyGlucoseAlert NO_ALERT
public static final SafetyGlucoseAlert HYPO_ALERT
public static final SafetyGlucoseAlert HYPER_ALERT
public static SafetyGlucoseAlert[] values()
for (SafetyGlucoseAlert c : SafetyGlucoseAlert.values()) System.out.println(c);
public static SafetyGlucoseAlert 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 java.lang.String getAlertMessage()