public final class PropertyMetaData extends Object
PropertyMetaData
encapsulates the payload byte array and
provides methods to access the property meta data.Constructor and Description |
---|
PropertyMetaData(int propertyType)
Creates a new PropertyMetaData with the given
propertyType . |
Modifier and Type | Method and Description |
---|---|
static PropertyMetaData |
fromByteArray(byte[] data)
Creates a
PropertyMetaData from a byte array. |
int |
getPropertyType() |
byte[] |
toByteArray() |
public PropertyMetaData(int propertyType)
propertyType
.propertyType
- the property type.public int getPropertyType()
PropertyType
public static PropertyMetaData fromByteArray(byte[] data)
PropertyMetaData
from a byte array.data
- the payload data array.PropertyMetaData
from a byte array.public byte[] toByteArray()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.