Package org.osgi.service.zigbee.types
Class ZigBeeStructure
- java.lang.Object
-
- org.osgi.service.zigbee.types.ZigBeeStructure
-
- All Implemented Interfaces:
ZCLDataTypeDescription
public class ZigBeeStructure extends java.lang.Object implements 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetId()Returns the data type identifier.static ZigBeeStructuregetInstance()Gets a singleton instance of this class.java.lang.Class<?>getJavaDataType()Returns the corresponding Java type class.java.lang.StringgetName()Returns the associated data type name.booleanisAnalog()Checks if the data type is analog.
-
-
-
Method Detail
-
getInstance
public static ZigBeeStructure getInstance()
Gets a singleton instance of this class.- Returns:
- the singleton instance.
-
getName
public java.lang.String 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
public java.lang.Class<?> 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.
-
-