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, wait
getDisplayName
public SARMIEnumeration(byte enumeratedValue)
enumeratedValue
- The value of the enumerationpublic SARMIEnumeration(byte[] bytes)
bytes
- The byte array of length 1public byte[] getBytes()
ISARMIMetadataValue
getBytes
in interface ISARMIMetadataValue
public String getDisplayableValue()
IKlvValue
getDisplayableValue
in interface IKlvValue
Copyright © 2022 West Ridge Systems. All rights reserved.