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()
IKlvValue
getDisplayName
in interface IKlvValue
public byte[] getBytes()
IMimdMetadataValue
getBytes
in interface IMimdMetadataValue
public String getDisplayableValue()
IKlvValue
getDisplayableValue
in interface IKlvValue
public IKlvValue getField(IKlvKey tag)
INestedKlvValue
getField
in interface INestedKlvValue
tag
- Tag or other identifier of the value to retrievepublic Set<? extends IKlvKey> getIdentifiers()
INestedKlvValue
getIdentifiers
in interface INestedKlvValue
Copyright © 2022 West Ridge Systems. All rights reserved.