Class CdmHeader

  • All Implemented Interfaces:
    Section

    public class CdmHeader
    extends Header
    Header of a CCSDS Conjunction Data Message.
    Since:
    11.2
    Author:
    Melina Vanel
    • Constructor Detail

      • CdmHeader

        public CdmHeader()
        Constructor.
    • 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.

        Specified by:
        validate in interface Section
        Overrides:
        validate in class Header
        Parameters:
        version - format version
      • 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.