Package org.osgi.service.zigbee.types
Class ZigBeeStructure
java.lang.Object
org.osgi.service.zigbee.types.ZigBeeStructure
- All Implemented Interfaces:
ZCLDataTypeDescription
A singleton class that represents the 'Structure' data type, as it is defined
in the ZigBee Cluster Library specification.
-
Method Summary
Modifier and TypeMethodDescriptionshort
getId()
Returns the data type identifier.static ZigBeeStructure
Gets a singleton instance of this class.Class<?>
Returns the corresponding Java type class.getName()
Returns the associated data type name.boolean
isAnalog()
Checks if the data type is analog.
-
Method Details
-
getInstance
Gets a singleton instance of this class.- Returns:
- the singleton instance.
-
getName
Description copied from interface:ZCLDataTypeDescription
Returns the associated data type name.- Specified by:
getName
in interfaceZCLDataTypeDescription
- Returns:
- the associated data type name string.
-
isAnalog
public boolean isAnalog()Description copied from interface:ZCLDataTypeDescription
Checks if the data type is analog.- Specified by:
isAnalog
in interfaceZCLDataTypeDescription
- Returns:
- true, if the data type is Analog, otherwise is Discrete.
-
getJavaDataType
Description copied from interface:ZCLDataTypeDescription
Returns the corresponding Java type class.- Specified by:
getJavaDataType
in interfaceZCLDataTypeDescription
- Returns:
- the corresponding Java type class.
-
getId
public short getId()Description copied from interface:ZCLDataTypeDescription
Returns the data type identifier.- Specified by:
getId
in interfaceZCLDataTypeDescription
- Returns:
- the data type identifier. The data types identifiers supported by
this specification are defined in the
ZigBeeDataTypes
interface.
-