public class Metadata extends CommentsContainer
Modifier | Constructor and Description |
---|---|
protected |
Metadata(TimeSystem defaultTimeSystem)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getLaunchNumber(String objectID)
Get the launch number.
|
protected String |
getLaunchPiece(String objectID)
Get the piece of launch.
|
protected int |
getLaunchYear(String objectID)
Get the launch year.
|
TimeSystem |
getTimeSystem()
Get the Time System that: for OPM, is used for metadata, state vector,
maneuver and covariance data, for OMM, is used for metadata, orbit state
and covariance data, for OEM, is used for metadata, ephemeris and
covariance data.
|
void |
setTimeSystem(TimeSystem timeSystem)
Set the Time System that: for OPM, is used for metadata, state vector,
maneuver and covariance data, for OMM, is used for metadata, orbit state
and covariance data, for OEM, is used for metadata, ephemeris and
covariance data.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
protected Metadata(TimeSystem defaultTimeSystem)
defaultTimeSystem
- default time system (may be null)public void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate
in interface Section
validate
in class CommentsContainer
version
- format versionpublic TimeSystem getTimeSystem()
public void setTimeSystem(TimeSystem timeSystem)
timeSystem
- the time system to be setprotected int getLaunchYear(String objectID)
objectID
- object identifierprotected int getLaunchNumber(String objectID)
objectID
- object identifierCopyright © 2002-2022 CS GROUP. All rights reserved.