public class Optics_Transmissions extends Object implements IMimdMetadataValue, INestedKlvValue
Optics transmissions attribute.
This is a specialisation of a MIMD LIST<Transmission>.
See ST1908 for more information on this data type.
| Constructor and Description |
|---|
Optics_Transmissions(byte[] data,
int offset,
int numBytes)
Build a Optics_Transmissions from encoded bytes.
|
Optics_Transmissions(List<Transmission> values)
Create a Optics_Transmissions from values.
|
| Modifier and Type | Method and Description |
|---|---|
static Optics_Transmissions |
fromBytes(byte[] data)
Build a Optics_Transmissions from encoded bytes.
|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
IKlvValue |
getField(IKlvKey tag)
Get the value of a given item.
|
Set<? extends IKlvKey> |
getIdentifiers()
Get the set of identifiers for populated values.
|
public Optics_Transmissions(List<Transmission> values)
values - the values to construct from.public Optics_Transmissions(byte[] data,
int offset,
int numBytes)
throws KlvParseException
data - the bytes to build from.offset - the offset into bytes to start parsing from.numBytes - the number of bytes to parse.KlvParseException - if parsing failspublic static Optics_Transmissions fromBytes(byte[] data) throws KlvParseException
data - the bytes to build from.KlvParseException - if parsing failspublic String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValuepublic byte[] getBytes()
IMimdMetadataValuegetBytes in interface IMimdMetadataValuepublic String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValuepublic IKlvValue getField(IKlvKey tag)
INestedKlvValuegetField in interface INestedKlvValuetag - Tag or other identifier of the value to retrievepublic Set<? extends IKlvKey> getIdentifiers()
INestedKlvValuegetIdentifiers in interface INestedKlvValueCopyright © 2022 West Ridge Systems. All rights reserved.