| Constructor and Description |
|---|
Header(double minVersionMessageId,
double minVersionClassification)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassification()
Get the classification/caveats.
|
AbsoluteDate |
getCreationDate()
Get the message creation date and time in UTC.
|
double |
getFormatVersion()
Get the CCSDS NDM (ADM, ODM or TDM) format version.
|
String |
getMessageId()
Get the ID that uniquely identifies a message from a given originator.
|
String |
getOriginator()
Get the message originator.
|
void |
setClassification(String classification)
Set the classification/caveats.
|
void |
setCreationDate(AbsoluteDate creationDate)
Set the message creation date and time in UTC.
|
void |
setFormatVersion(double formatVersion)
Set the CCSDS NDM (ADM, ODM or TDM) format version.
|
void |
setMessageId(String messageId)
Set the ID that uniquely identifies a message from a given originator.
|
void |
setOriginator(String originator)
Set the message originator.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherCommentspublic Header(double minVersionMessageId,
double minVersionClassification)
minVersionMessageId - minimum version for HeaderKey.MESSAGE_IDminVersionClassification - minimum version for HeaderKey.CLASSIFICATIONpublic void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate in interface Sectionvalidate in class CommentsContainerversion - format versionpublic double getFormatVersion()
public void setFormatVersion(double formatVersion)
formatVersion - the format version to be setpublic String getClassification()
public void setClassification(String classification)
classification - classification/caveats to be setpublic AbsoluteDate getCreationDate()
public void setCreationDate(AbsoluteDate creationDate)
creationDate - the creation date to be setpublic String getOriginator()
public void setOriginator(String originator)
originator - the originator to be setpublic String getMessageId()
public void setMessageId(String messageId)
messageId - ID that uniquely identifies a message from a given originatorCopyright © 2002-2023 CS GROUP. All rights reserved.