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 (seegetDataType()
).- Author:
- $Id: 5e3bafbefdc73a0d46632743796c784449aca1dc $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
Property key for the optional attribute id of a ZigBee Event Listener.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ZCLDataTypeDescription
getDataType()
Returns the data type of this attribute.int
getId()
Returns the ID of this attribute.int
getManufacturerCode()
Returns the manufacturer code of this attribute.boolean
isManufacturerSpecific()
Checks if the attribute is manufacturer specific.
-
-
-
Field Detail
-
ID
static final java.lang.String ID
Property key for the optional attribute id of a ZigBee Event Listener.- See Also:
- Constant Field Values
-
-
Method Detail
-
isManufacturerSpecific
boolean isManufacturerSpecific()
Checks if the attribute is manufacturer specific.- Returns:
true
if 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).
-
-