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 short
getId()
Returns the data type identifier.static ZigBeeStructure
getInstance()
Gets a singleton instance of this class.java.lang.Class<?>
getJavaDataType()
Returns the corresponding Java type class.java.lang.String
getName()
Returns the associated data type name.boolean
isAnalog()
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: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
public java.lang.Class<?> 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.
-
-