Package org.osgi.service.zigbee
Interface ZCLAttributeInfo
- All Known Subinterfaces:
ZCLAttribute,ZCLAttributeDescription
public interface ZCLAttributeInfo
This interface provides information about the attribute, like its ZCL
attribute ID, if it manufacturer specific and about its data type (see
getDataType()).-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the data type of this attribute.intgetId()Returns the ID of this attribute.intReturns the manufacturer code of this attribute.booleanChecks if the attribute is manufacturer specific.
-
Field Details
-
ID
Property key for the optional attribute id of a ZigBee Event Listener.- See Also:
-
-
Method Details
-
isManufacturerSpecific
boolean isManufacturerSpecific()Checks if the attribute is manufacturer specific.- Returns:
trueif and only if this attribute is related to a manufacturer extension.
-
getManufacturerCode
int getManufacturerCode()Returns the manufacturer code of this attribute.- Returns:
- The manufacturer code that defined this attribute, if the attribute does not belong to any manufacture extension then it returns -1.
-
getId
int getId()Returns the ID of this attribute.- Returns:
- the attribute identifier (that is, the attribute's ID).
-
getDataType
ZCLDataTypeDescription getDataType()Returns the data type of this attribute.- Returns:
- The attribute data type. It may be null if the data type is not retrievable (issue with read attribute and discover attributes commands).
-