public static enum DeviceModelAttribute.Access extends java.lang.Enum<DeviceModelAttribute.Access>
Enum Constant and Description |
---|
EXECUTABLE
The attribute is a action
|
READ_ONLY
The attribute value can be read but may not be set.
|
READ_WRITE
The attribute value can be set and can be read
|
WRITE_ONLY
The attribute value can be set but may not be read.
|
Modifier and Type | Method and Description |
---|---|
static DeviceModelAttribute.Access |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceModelAttribute.Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceModelAttribute.Access READ_ONLY
public static final DeviceModelAttribute.Access WRITE_ONLY
public static final DeviceModelAttribute.Access READ_WRITE
public static final DeviceModelAttribute.Access EXECUTABLE
public static DeviceModelAttribute.Access[] values()
for (DeviceModelAttribute.Access c : DeviceModelAttribute.Access.values()) System.out.println(c);
public static DeviceModelAttribute.Access 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 null