public class AttributeDefinition extends ASerialType
value
Constructor and Description |
---|
AttributeDefinition() |
AttributeDefinition(byte[] v) |
Modifier and Type | Method and Description |
---|---|
AttributeID |
getAttributeId() |
Bitmap8 |
getAttributePropertyBitmask() |
UInt8 |
getAttributeType() |
int |
getMinLength() |
int |
getTypeLength(byte[] ba,
int offset) |
protected void |
parseValue() |
void |
setAttributeId(AttributeID val) |
void |
setAttributePropertyBitmask(Bitmap8 val) |
void |
setAttributeType(UInt8 val) |
String |
toString() |
protected void |
updateValue() |
public AttributeDefinition()
public AttributeDefinition(byte[] v)
protected void parseValue()
parseValue
in class ASerialType
protected void updateValue()
updateValue
in class ASerialType
public AttributeID getAttributeId()
public void setAttributeId(AttributeID val)
val
- public UInt8 getAttributeType()
public void setAttributeType(UInt8 val)
val
- Follows data type enumeration as defined in ZCL specificationpublic Bitmap8 getAttributePropertyBitmask()
public void setAttributePropertyBitmask(Bitmap8 val)
val
- public String toString()
toString
in class ASerialType
public int getMinLength()
getMinLength
in class ASerialType
public int getTypeLength(byte[] ba, int offset)
getTypeLength
in class ASerialType
Copyright © 2015. All rights reserved.