public static enum DeviceModelAttribute.Type extends java.lang.Enum<DeviceModelAttribute.Type>
Enum Constant and Description |
---|
BOOLEAN
The type of the attribute is a Boolean
|
DATETIME
The type of the attribute is a Long, which represents
the millisecond time since the epoch.
|
INTEGER
The type of the attribute is an Integer.
|
NUMBER
The type of the attribute is a Number.
|
STRING
The type of the attribute is a String.
|
URI
The type of the attribute is a URI.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
fromString(java.lang.String str) |
static DeviceModelAttribute.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceModelAttribute.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceModelAttribute.Type NUMBER
public static final DeviceModelAttribute.Type STRING
public static final DeviceModelAttribute.Type URI
public static final DeviceModelAttribute.Type BOOLEAN
public static final DeviceModelAttribute.Type INTEGER
public static final DeviceModelAttribute.Type DATETIME
public static DeviceModelAttribute.Type[] values()
for (DeviceModelAttribute.Type c : DeviceModelAttribute.Type.values()) System.out.println(c);
public static DeviceModelAttribute.Type 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 abstract java.lang.Object fromString(java.lang.String str)