Package org.orekit.files.ccsds.ndm
Class NdmConstituent<H extends Header,S extends Segment<?,?>>
- java.lang.Object
-
- org.orekit.files.ccsds.ndm.NdmConstituent<H,S>
-
- Type Parameters:
H
- type of the headerS
- type of the segments
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 Summary
Constructors Modifier Constructor Description protected
NdmConstituent(H header, List<S> segments, IERSConventions conventions, DataContext dataContext)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IERSConventions
getConventions()
Get IERS conventions.DataContext
getDataContext()
Get the data context.H
getHeader()
Get the header.List<S>
getSegments()
Get the segments.void
setHeader(H header)
Set the header.void
setSegments(List<S> segments)
Set the segments.void
validate()
Validate the file message for required and forbidden entries.
-
-
-
Constructor Detail
-
NdmConstituent
protected NdmConstituent(H header, List<S> segments, IERSConventions conventions, DataContext dataContext)
Constructor.- Parameters:
header
- file headersegments
- file segmentsconventions
- IERS conventionsdataContext
- 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
-
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.
-
-