public abstract class SARMIEnumeration extends Object implements ISARMIMetadataValue
| Modifier and Type | Field and Description |
|---|---|
protected byte |
value |
| Constructor and Description |
|---|
SARMIEnumeration(byte enumeratedValue)
Create from value.
|
SARMIEnumeration(byte[] bytes)
Create from encoded bytes.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayNamepublic SARMIEnumeration(byte enumeratedValue)
enumeratedValue - The value of the enumerationpublic SARMIEnumeration(byte[] bytes)
bytes - The byte array of length 1public byte[] getBytes()
ISARMIMetadataValuegetBytes in interface ISARMIMetadataValuepublic String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValueCopyright © 2022 West Ridge Systems. All rights reserved.