public static class TypeDefinitionStringImpl.ByteArrayStringValue extends TypeDefinitionStringImpl.BaseStringValue implements PropertyValue
Property value for strings with an underlying element type of
TypeDefinitionIntegerImpl. These are backed in Java by a
byte array value.
| Modifier and Type | Method and Description |
|---|---|
ByteOrder |
getByteOrder()
Returns the byte order of the encoded string data.
|
byte[] |
getValue()
Returns the value of the property through a generic Java object interface.
|
equals, getType, isDefinedTypehashCode, toStringequals, getType, hashCode, toStringpublic byte[] getValue()
PropertyValueReturns the value of the property through a generic Java object interface. Alternative type-specific access methods are provided in each type definition.
For example, for a property value of a UInt32 type, this method
returns an Integer. Values will need to be cast to appropriate types by the
application. The value returned may be null, which may indicate that an optional
property was not present.
getValue in interface PropertyValuePropertyValue.getValue()public ByteOrder getByteOrder()
Returns the byte order of the encoded string data.
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.