@Beta public class MinorCoreId extends Object implements IMimdMetadataValue, INestedKlvValue
| Constructor and Description |
|---|
MinorCoreId()
Create a new empty MinorCoreId local set.
|
MinorCoreId(byte[] bytes)
Construct MinorCoreId Local Set from encoded bytes.
|
MinorCoreId(byte[] data,
int offset,
int numBytes)
Build a MinorCoreId Local Set from encoded bytes.
|
MinorCoreId(Map<MinorCoreIdMetadataKey,IMimdMetadataValue> values)
Create the MinorCoreId local set from the given key/value pairs.
|
| Modifier and Type | Method and Description |
|---|---|
static MinorCoreId |
fromBytes(byte[] bytes)
Create MinorCoreId 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.
|
IKlvValue |
getField(IKlvKey tag)
Get the value of a given item.
|
Set<? extends IKlvKey> |
getIdentifiers()
Get the set of identifiers for populated values.
|
MinorCoreId_Uuid |
getUuid()
Get the
uuid attribute value. |
void |
setUuid(MinorCoreId_Uuid uuid)
Set the
uuid attribute value. |
public MinorCoreId()
public MinorCoreId(Map<MinorCoreIdMetadataKey,IMimdMetadataValue> values)
values - Tag/value pairs to be included in the local setpublic MinorCoreId(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 MinorCoreId(byte[] bytes)
throws KlvParseException
bytes - Encoded byte array.KlvParseException - if the array could not be parsedpublic MinorCoreId_Uuid getUuid()
uuid attribute value.public void setUuid(MinorCoreId_Uuid uuid)
uuid attribute value.uuid - the org.jmisb.api.klv.st1908.MinorCoreId_Uuid value to set.public static MinorCoreId fromBytes(byte[] bytes) throws KlvParseException
bytes - Encoded byte arrayKlvParseException - if the array could not be parsedpublic byte[] getBytes()
IMimdMetadataValuegetBytes in interface IMimdMetadataValuepublic String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValuepublic 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.