public static enum IotDeviceEntity.UserRole extends java.lang.Enum<IotDeviceEntity.UserRole>
IotDeviceEntity.UserRole.| Enum Constant and Description |
|---|
DRIVER
A default driver (one without any secondary drivers)
|
PRIMARY_DRIVER
The primary driver (if one or more secondary drivers exist)
|
SECONDARY_DRIVER
A secondary driver (if a primary driver exists)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a String of the user role.
|
static IotDeviceEntity.UserRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IotDeviceEntity.UserRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IotDeviceEntity.UserRole DRIVER
public static final IotDeviceEntity.UserRole PRIMARY_DRIVER
public static final IotDeviceEntity.UserRole SECONDARY_DRIVER
public static IotDeviceEntity.UserRole[] values()
for (IotDeviceEntity.UserRole c : IotDeviceEntity.UserRole.values()) System.out.println(c);
public static IotDeviceEntity.UserRole 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 toString()
toString in class java.lang.Enum<IotDeviceEntity.UserRole>