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