public class StateVariable extends Object implements StateVariableTypes
Modifier and Type | Field and Description |
---|---|
Set<String> |
allowedvalues
A set of allowed values (String objects) for the variable
|
String |
dataType
The variable UPNP data type
|
String |
defaultValue
The default value of the state variable
|
String |
maximumRangeValue
The maximum value as a string
|
String |
minimumRangeValue
The minimum value as a string
|
String |
name
State variable name
|
Service |
parent
The parent
Service Object |
boolean |
sendEvents
Boolean to indicate if the variable is sending events when value of the
var is changing.
|
String |
stepRangeValue
The value step range as a string
|
BIN_BASE64, BIN_BASE64_INT, BIN_HEX, BIN_HEX_INT, BOOLEAN, BOOLEAN_INT, CHAR, CHAR_INT, DATE, DATE_INT, DATETIME, DATETIME_INT, DATETIME_TZ, DATETIME_TZ_INT, FIXED_14_4, FIXED_14_4_INT, FLOAT, FLOAT_INT, I1, I1_INT, I2, I2_INT, I4, I4_INT, INT, INT_INT, NUMBER, NUMBER_INT, R4, R4_INT, R8, R8_INT, STRING, STRING_INT, TIME, TIME_INT, TIME_TZ, TIME_TZ_INT, UI1, UI1_INT, UI2, UI2_INT, UI4, UI4_INT, URI, URI_INT, UUID, UUID_INT
public final String name
public final boolean sendEvents
public final String dataType
public final String defaultValue
public final String minimumRangeValue
public final String maximumRangeValue
public final String stepRangeValue
public final Set<String> allowedvalues
public String getValue() throws UPNPResponseException, IOException
UPNPResponseException
- if the device throws an exception during queryIOException
- if some IO error with device occurs during querypublic Class<?> getDataTypeAsClass()
Copyright © 2013. All Rights Reserved.