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.
- Author:
- $Id: 0a986d1b1018cc626537eff7669a6de4293c9f7f $
-
Method Summary
Modifier and TypeMethodDescriptionshortgetId()Returns the data type identifier.static ZigBeeStructureGets a singleton instance of this class.Class<?> Returns the corresponding Java type class.getName()Returns the associated data type name.booleanisAnalog()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:ZCLDataTypeDescriptionReturns the associated data type name.- Specified by:
getNamein interfaceZCLDataTypeDescription- Returns:
- the associated data type name string.
-
isAnalog
public boolean isAnalog()Description copied from interface:ZCLDataTypeDescriptionChecks if the data type is analog.- Specified by:
isAnalogin interfaceZCLDataTypeDescription- Returns:
- true, if the data type is Analog, otherwise is Discrete.
-
getJavaDataType
Description copied from interface:ZCLDataTypeDescriptionReturns the corresponding Java type class.- Specified by:
getJavaDataTypein interfaceZCLDataTypeDescription- Returns:
- the corresponding Java type class.
-
getId
public short getId()Description copied from interface:ZCLDataTypeDescriptionReturns the data type identifier.- Specified by:
getIdin interfaceZCLDataTypeDescription- Returns:
- the data type identifier. The data types identifiers supported by
this specification are defined in the
ZigBeeDataTypesinterface.
-