T
- type of the builderpublic abstract class AbstractBuilder<T extends AbstractBuilder<T>> extends Object
CCSDS Message
files parsers/writers.Modifier | Constructor and Description |
---|---|
protected |
AbstractBuilder(IERSConventions conventions,
DataContext dataContext,
AbsoluteDate missionReferenceDate,
RangeUnitsConverter rangeUnitsConverter)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
create(IERSConventions newConventions,
DataContext newDataContext,
AbsoluteDate newMissionReferenceDate,
RangeUnitsConverter newRangeUnitsConverter)
Build an instance.
|
IERSConventions |
getConventions()
Get the IERS conventions.
|
DataContext |
getDataContext()
Get the data context.
|
AbsoluteDate |
getMissionReferenceDate()
Get the mission reference date or Mission Elapsed Time or Mission Relative Time time systems.
|
RangeUnitsConverter |
getRangeUnitsConverter()
Get the converter for
Range Units . |
T |
withConventions(IERSConventions newConventions)
Set up IERS conventions.
|
T |
withDataContext(DataContext newDataContext)
Set up data context used to retrieve frames, time scales, etc..
|
T |
withMissionReferenceDate(AbsoluteDate newMissionReferenceDate)
Set up mission reference date or Mission Elapsed Time or Mission Relative Time time systems.
|
T |
withRangeUnitsConverter(RangeUnitsConverter newRangeUnitsConverter)
Set up the converter for
Range Units . |
protected AbstractBuilder(IERSConventions conventions, DataContext dataContext, AbsoluteDate missionReferenceDate, RangeUnitsConverter rangeUnitsConverter)
conventions
- IERS ConventionsdataContext
- used to retrieve frames, time scales, etc.missionReferenceDate
- reference date for Mission Elapsed Time or Mission Relative Time time systemsrangeUnitsConverter
- converter for Range Units
protected abstract T create(IERSConventions newConventions, DataContext newDataContext, AbsoluteDate newMissionReferenceDate, RangeUnitsConverter newRangeUnitsConverter)
newConventions
- IERS ConventionsnewDataContext
- used to retrieve frames, time scales, etc.newMissionReferenceDate
- reference date for Mission Elapsed Time or Mission Relative Time time systemsnewRangeUnitsConverter
- converter for Range Units
public T withConventions(IERSConventions newConventions)
newConventions
- IERS Conventionspublic IERSConventions getConventions()
public T withDataContext(DataContext newDataContext)
newDataContext
- data context used to retrieve frames, time scales, etc.public DataContext getDataContext()
public T withMissionReferenceDate(AbsoluteDate newMissionReferenceDate)
The mission reference date is used only by AemParser
and ApmParser
,
and by OpmParser
, OmmParser
and OemParser
up to version 2.0
of ODM (starting with version 3.0 of ODM, both MET and MRT time system have been
withdrawn from the standard).
newMissionReferenceDate
- mission reference date or Mission Elapsed Time or Mission Relative Time time systemspublic AbsoluteDate getMissionReferenceDate()
public T withRangeUnitsConverter(RangeUnitsConverter newRangeUnitsConverter)
Range Units
.newRangeUnitsConverter
- converter for Range Units
public RangeUnitsConverter getRangeUnitsConverter()
Range Units
.Range Units
Copyright © 2002-2021 CS GROUP. All rights reserved.