public class OntologyId extends VmtiV3Value implements IVmtiMetadataValue
The OntologyId is an alternative method for specifying the information in Tag 1 (Ontology) and Tag 2 (OntologyClass) when the VMTI LS includes an Ontology Series in Tag 103. The OntologyId is a reference to one of the elements in the VMTI LS Ontology Series. The 103_ontologySeries attribute lists all the ontologies the VMTI LS will use. Each ontology in the series includes an identifier (Id), the OntologyId value equals one of the Id values in the Ontology Series. Using the OntologyId replaces the need to use Tag 1 and Tag 2 in VObject LS saving bandwidth by not duplicating the same information for different VObjects.
value
Constructor and Description |
---|
OntologyId(byte[] bytes)
Create from encoded bytes.
|
OntologyId(int id)
Create from value.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Get the human-readable name for the value.
|
getBytes, getDisplayableValue, getValue, parse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBytes
getDisplayableValue
public OntologyId(int id)
id
- the ontology identifier.public OntologyId(byte[] bytes)
bytes
- identifier, encoded as a variable length unsigned int (max 3 bytes)public String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
Copyright © 2022 West Ridge Systems. All rights reserved.