public class CommonMetadata extends OdmMetadata
| Constructor and Description |
|---|
CommonMetadata()
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeMetadata(ContextBinding context)
Finalize the metadata.
|
BodyFacade |
getCenter()
Get the origin of reference frame.
|
Frame |
getFrame()
Get the reference frame in which data are given: used for state vector and
Keplerian elements data (and for the covariance reference frame if none is given).
|
AbsoluteDate |
getFrameEpoch()
Get epoch of reference frame, if not intrinsic to the definition of the
reference frame.
|
int |
getLaunchNumber()
Get the launch number.
|
String |
getLaunchPiece()
Get the piece of launch.
|
int |
getLaunchYear()
Get the launch year.
|
String |
getObjectID()
Get the spacecraft ID for which the orbit state is provided.
|
FrameFacade |
getReferenceFrame()
Get the value of
REF_FRAME as an Orekit Frame. |
void |
setCenter(BodyFacade center)
Set the origin of reference frame.
|
void |
setFrameEpoch(AbsoluteDate frameEpoch)
Set epoch of reference frame, if not intrinsic to the definition of the
reference frame.
|
void |
setFrameEpochString(String frameEpochString)
Set epoch of reference frame, if not intrinsic to the definition of the
reference frame.
|
void |
setObjectID(String objectID)
Set the spacecraft ID for which the orbit state is provided.
|
void |
setReferenceFrame(FrameFacade referenceFrame)
Set the reference frame in which data are given: used for state vector
and Keplerian elements data (and for the covariance reference frame if none is given).
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
getObjectName, setObjectNamegetLaunchNumber, getLaunchPiece, getLaunchYear, getTimeSystem, setTimeSystemacceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherCommentspublic void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
public void finalizeMetadata(ContextBinding context)
ODM standard enforces TIME_SYSTEM to appear *after*
REF_FRAME_EPOCH, despite it is needed to interpret it.
We have to wait until parsing end to finalize this date.
context - context bindingpublic String getObjectID()
public void setObjectID(String objectID)
objectID - the spacecraft ID to be setpublic int getLaunchYear()
public int getLaunchNumber()
public String getLaunchPiece()
public BodyFacade getCenter()
public void setCenter(BodyFacade center)
center - origin of reference frame to be setpublic Frame getFrame()
public FrameFacade getReferenceFrame()
REF_FRAME as an Orekit Frame. The CENTER_NAME key word has not been applied yet, so the returned frame may not
correspond to the reference frame of the data in the file.REF_FRAME keyword.getFrame()public void setReferenceFrame(FrameFacade referenceFrame)
referenceFrame - the reference frame to be setpublic void setFrameEpochString(String frameEpochString)
frameEpochString - the epoch of reference frame to be setpublic AbsoluteDate getFrameEpoch()
public void setFrameEpoch(AbsoluteDate frameEpoch)
frameEpoch - the epoch of reference frame to be setCopyright © 2002-2023 CS GROUP. All rights reserved.