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
- All Implemented Interfaces:
Section
Header of a CCSDS Conjunction Data Message.
- Since:
- 11.2
- Author:
- Melina Vanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the spacecraft name for which the CDM is provided stored in MESSAGE_FOR key.voidsetMessageFor(String spacecraftNames) Set the spacecraft name for which the CDM is provided stored in MESSAGE_FOR key.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.Header
getClassification, getCreationDate, getFormatVersion, getMessageId, getOriginator, setClassification, setCreationDate, setFormatVersion, setMessageId, setOriginatorMethods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Constructor Details
-
CdmHeader
public CdmHeader()Constructor.
-
-
Method Details
-
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
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
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.
-