@Beta public class Transmission extends Object implements IMimdMetadataValue, INestedKlvValue
Constructor and Description |
---|
Transmission()
Create a new empty Transmission local set.
|
Transmission(byte[] bytes)
Construct Transmission Local Set from encoded bytes.
|
Transmission(byte[] data,
int offset,
int numBytes)
Build a Transmission Local Set from encoded bytes.
|
Transmission(Map<TransmissionMetadataKey,IMimdMetadataValue> values)
Create the Transmission local set from the given key/value pairs.
|
Modifier and Type | Method and Description |
---|---|
static Transmission |
fromBytes(byte[] bytes)
Create Transmission Local Set 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.
|
Transmission_EndWavelength |
getEndWavelength()
Get the
endWavelength attribute value. |
IKlvValue |
getField(IKlvKey tag)
Get the value of a given item.
|
Set<? extends IKlvKey> |
getIdentifiers()
Get the set of identifiers for populated values.
|
MimdId |
getMimdId()
Get the
mimdId attribute value. |
NumericalPrecision |
getNumericPrecision()
Get the
numericPrecision attribute value. |
MimdIdReference |
getSecurity()
Get the
security attribute value. |
Transmission_StartWavelength |
getStartWavelength()
Get the
startWavelength attribute value. |
MimdIdReference |
getTimer()
Get the
timer attribute value. |
Base_TimerOffset |
getTimerOffset()
Get the
timerOffset attribute value. |
Transmission_Transmittance |
getTransmittance()
Get the
transmittance attribute value. |
void |
setEndWavelength(Transmission_EndWavelength endWavelength)
Set the
endWavelength attribute value. |
void |
setMimdId(MimdId mimdId)
Set the
mimdId attribute value. |
void |
setNumericPrecision(NumericalPrecision numericPrecision)
Set the
numericPrecision attribute value. |
void |
setSecurity(MimdIdReference security)
Set the
security attribute value. |
void |
setStartWavelength(Transmission_StartWavelength startWavelength)
Set the
startWavelength attribute value. |
void |
setTimer(MimdIdReference timer)
Set the
timer attribute value. |
void |
setTimerOffset(Base_TimerOffset timerOffset)
Set the
timerOffset attribute value. |
void |
setTransmittance(Transmission_Transmittance transmittance)
Set the
transmittance attribute value. |
public Transmission()
public Transmission(Map<TransmissionMetadataKey,IMimdMetadataValue> values)
values
- Tag/value pairs to be included in the local setpublic Transmission(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 fails (depending on InvalidDataHandler strategy)public Transmission(byte[] bytes) throws KlvParseException
bytes
- Encoded byte array.KlvParseException
- if the array could not be parsedpublic MimdId getMimdId()
mimdId
attribute value.public void setMimdId(MimdId mimdId)
mimdId
attribute value.mimdId
- the MimdId value to set.public MimdIdReference getTimer()
timer
attribute value.MimdIdReference
value, or null if not set.public void setTimer(MimdIdReference timer)
timer
attribute value.timer
- the MimdIdReference value to set.public Base_TimerOffset getTimerOffset()
timerOffset
attribute value.public void setTimerOffset(Base_TimerOffset timerOffset)
timerOffset
attribute value.timerOffset
- the org.jmisb.api.klv.st1904.Base_TimerOffset value to set.public NumericalPrecision getNumericPrecision()
numericPrecision
attribute value.public void setNumericPrecision(NumericalPrecision numericPrecision)
numericPrecision
attribute value.numericPrecision
- the NumericPrecision value to set.public MimdIdReference getSecurity()
security
attribute value.MimdIdReference
value, or null if not set.public void setSecurity(MimdIdReference security)
security
attribute value.security
- the MimdIdReference value to set.public Transmission_StartWavelength getStartWavelength()
startWavelength
attribute value.public void setStartWavelength(Transmission_StartWavelength startWavelength)
startWavelength
attribute value.startWavelength
- the org.jmisb.api.klv.st1908.Transmission_StartWavelength value to set.public Transmission_EndWavelength getEndWavelength()
endWavelength
attribute value.public void setEndWavelength(Transmission_EndWavelength endWavelength)
endWavelength
attribute value.endWavelength
- the org.jmisb.api.klv.st1908.Transmission_EndWavelength value to set.public Transmission_Transmittance getTransmittance()
transmittance
attribute value.public void setTransmittance(Transmission_Transmittance transmittance)
transmittance
attribute value.transmittance
- the org.jmisb.api.klv.st1908.Transmission_Transmittance value to set.public static Transmission fromBytes(byte[] bytes) throws KlvParseException
bytes
- Encoded byte arrayKlvParseException
- if the array could not be parsedpublic byte[] getBytes()
IMimdMetadataValue
getBytes
in interface IMimdMetadataValue
public String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
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.