public static enum DeviceTypeEnum.ConcreteDeviceTypeEnum extends Enum<DeviceTypeEnum.ConcreteDeviceTypeEnum>
Enum Constant and Description |
---|
COORDINATOR |
END_DEVICE |
ROUTER |
SLEEPY_END_DEVICE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static DeviceTypeEnum.ConcreteDeviceTypeEnum |
get(byte v) |
byte |
getCode() |
String |
getLabel() |
static DeviceTypeEnum.ConcreteDeviceTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceTypeEnum.ConcreteDeviceTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceTypeEnum.ConcreteDeviceTypeEnum COORDINATOR
public static final DeviceTypeEnum.ConcreteDeviceTypeEnum ROUTER
public static final DeviceTypeEnum.ConcreteDeviceTypeEnum END_DEVICE
public static final DeviceTypeEnum.ConcreteDeviceTypeEnum SLEEPY_END_DEVICE
public static final DeviceTypeEnum.ConcreteDeviceTypeEnum UNKNOWN
public static DeviceTypeEnum.ConcreteDeviceTypeEnum[] values()
for (DeviceTypeEnum.ConcreteDeviceTypeEnum c : DeviceTypeEnum.ConcreteDeviceTypeEnum.values()) System.out.println(c);
public static DeviceTypeEnum.ConcreteDeviceTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static DeviceTypeEnum.ConcreteDeviceTypeEnum get(byte v)
public byte getCode()
public String getLabel()
Copyright © 2016. All rights reserved.