Class NdmConstituent<H extends Header,​S extends Segment<?,​?>>

  • Type Parameters:
    H - type of the header
    S - type of the segments
    Direct Known Subclasses:
    Acm, Aem, Apm, Cdm, Ocm, Oem, Omm, Opm, Tdm

    public abstract class NdmConstituent<H extends Header,​S extends Segment<?,​?>>
    extends Object
    Constituents of a CCSDS Navigation Data Message. Constituents may be Attitude Data Message (ADM), Orbit Data Message (ODM), Tracking Data Message (TDM)… Each constituent has its own header and a list of segments.
    Since:
    10.2
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • NdmConstituent

        protected NdmConstituent​(H header,
                                 List<S> segments,
                                 IERSConventions conventions,
                                 DataContext dataContext)
        Constructor.
        Parameters:
        header - file header
        segments - file segments
        conventions - IERS conventions
        dataContext - used for creating frames, time scales, etc.
    • Method Detail

      • getHeader

        public H getHeader()
        Get the header.
        Returns:
        header
        Since:
        11.0
      • setHeader

        public void setHeader​(H header)
        Set the header.
        Parameters:
        header - the header
      • getSegments

        public List<S> getSegments()
        Get the segments.
        Returns:
        segments
        Since:
        11.0
      • setSegments

        public void setSegments​(List<S> segments)
        Set the segments.
        Parameters:
        segments - the segments
      • getConventions

        public IERSConventions getConventions()
        Get IERS conventions.
        Returns:
        IERS conventions
      • getDataContext

        public DataContext getDataContext()
        Get the data context.
        Returns:
        the data context used for creating frames, time scales, etc.
      • validate

        public void validate()
        Validate the file message for required and forbidden entries.

        This method throws an exception if file does not meet format requirements. The requirements may depend on format version, which is found in header.