public class DeviceDescriptionXmlRpc extends MapXmlRpcStruct implements DeviceDescription
DeviceDescription.KEYS, DeviceDescription.RX_FLAGSstruct| Constructor and Description |
|---|
DeviceDescriptionXmlRpc(DeviceDescription desc) |
DeviceDescriptionXmlRpc(Map<String,Object> struct) |
DeviceDescriptionXmlRpc(String address,
int version)
Creates a DeviceDescription with the minimum information required for use
in the HomeMatic listDevices() function.
|
| Modifier and Type | Method and Description |
|---|---|
static String[] |
asStringArray(Object[] a) |
String |
getAddress() |
String[] |
getChildren() |
String[] |
getParamsets()
List of available
Paramsets. |
String |
getParent()
Address of the parent logical device.
|
String |
getParentType()
Parent type, if parent is available.
|
String |
getType() |
int |
getVersion() |
boolean |
isDevice() |
containsKey, getBoolean, getInt, getString, getStringArray, getStruct, getValue, keySet, setBoolean, setInt, setString, setStringArray, setValue, toMap, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsKey, getBoolean, getInt, getString, getStringArray, getValue, keySet, setBoolean, setInt, setString, setStringArray, setValue, toMappublic DeviceDescriptionXmlRpc(DeviceDescription desc)
public DeviceDescriptionXmlRpc(String address, int version)
address - Homematic address stringversion - Homematic versionpublic String getAddress()
getAddress in interface DeviceDescriptionpublic String[] getParamsets()
DeviceDescriptionParamsets. Usually 'MASTER', 'VALUES'
plus the names of LINK sets, which are logical device address strings.
Use HomeMatic.getParamsetDescription(java.lang.String, java.lang.String) and HomeMatic.getParamset(java.lang.String, java.lang.String)
to retrieve description and actual values.getParamsets in interface DeviceDescriptionParamsetspublic String getParent()
DeviceDescriptiongetParent in interface DeviceDescriptionpublic String getParentType()
DeviceDescriptiongetParentType in interface DeviceDescriptionpublic String getType()
getType in interface DeviceDescriptionpublic boolean isDevice()
isDevice in interface DeviceDescriptionpublic int getVersion()
getVersion in interface DeviceDescriptionpublic String[] getChildren()
getChildren in interface DeviceDescriptionCopyright © 2018. All rights reserved.