|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SwitchSensorEvent>
org.universAAL.lddi.lib.activityhub.devicemodel.SwitchSensorEvent
public enum SwitchSensorEvent
sensor events of switch sensor ISO 11073-10471
Enum Constant Summary | |
---|---|
NO_CONDITION_DETECTED
|
|
SWITCH_OFF
|
|
SWITCH_ON
|
Method Summary | |
---|---|
static SwitchSensorEvent |
getSwitchSensorEvent(int val)
convert int to enum item |
static SwitchSensorEvent |
toSwitchSensorEvent(String str)
convert String to enum item |
int |
value()
|
static SwitchSensorEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SwitchSensorEvent[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SwitchSensorEvent SWITCH_ON
public static final SwitchSensorEvent SWITCH_OFF
public static final SwitchSensorEvent NO_CONDITION_DETECTED
Method Detail |
---|
public static SwitchSensorEvent[] values()
for (SwitchSensorEvent c : SwitchSensorEvent.values()) System.out.println(c);
public static SwitchSensorEvent valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int value()
public static SwitchSensorEvent toSwitchSensorEvent(String str)
str
-
public static SwitchSensorEvent getSwitchSensorEvent(int val)
int
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |