Package org.orekit.files.ccsds.ndm.cdm
Class CdmHeader
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.section.Header
-
- org.orekit.files.ccsds.ndm.cdm.CdmHeader
-
-
Constructor Summary
Constructors Constructor Description CdmHeader(double minVersionMessageId)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassification()
Get the classification or caveats text message of this CDM.String
getMessageFor()
Get the spacecraft name for which the CDM is provided stored in MESSAGE_FOR key.void
setClassification(String classification)
Set the classification or caveats text message of this CDM.void
setMessageFor(String spacecraftNames)
Set the spacecraft name for which the CDM is provided stored in MESSAGE_FOR key.void
validate(double version)
Check is all mandatory entries have been initialized.-
Methods inherited from class org.orekit.files.ccsds.section.Header
getCreationDate, getFormatVersion, getMessageId, getOriginator, setCreationDate, setFormatVersion, setMessageId, setOriginator
-
Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
-
-
-
-
Constructor Detail
-
CdmHeader
public CdmHeader(double minVersionMessageId)
Constructor.- Parameters:
minVersionMessageId
- minimum version forHeaderKey.MESSAGE_ID
-
-
Method Detail
-
validate
public void validate(double version)
Check is all mandatory entries have been initialized.This method should throw an exception if some mandatory entries are missing or not compatible with version number.
-
getMessageFor
public String getMessageFor()
Get the spacecraft name for which the CDM is provided stored in MESSAGE_FOR key.- Returns:
- messageFor the spacecraft name for which the CDM is provided.
-
setMessageFor
public void setMessageFor(String spacecraftNames)
Set the spacecraft name for which the CDM is provided stored in MESSAGE_FOR key.- Parameters:
spacecraftNames
- the spacecraft name for which the CDM is provided.
-
getClassification
public String getClassification()
Get the classification or caveats text message of this CDM.- Returns:
- the classification
-
setClassification
public void setClassification(String classification)
Set the classification or caveats text message of this CDM.- Parameters:
classification
- the classification to set
-
-