Package org.orekit.files.ccsds.ndm.adm
Class AdmMetadata
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.section.Metadata
org.orekit.files.ccsds.ndm.adm.AdmMetadata
- All Implemented Interfaces:
Section
- Direct Known Subclasses:
AcmMetadata,AemMetadata
This class gathers the meta-data present in the Attitude Data Message (ADM).
- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the body at origin of reference frame.booleanGet boolean testing whether the body corresponding to the centerName attribute can be created through theCelestialBodies.intGet the launch number.Get the piece of launch.intGet the launch year.Get the spacecraft ID for which the attitude data are provided.Get the spacecraft name for which the attitude data are provided.voidsetCenter(BodyFacade center) Set the body at origin of reference frame.voidsetObjectID(String objectID) Set the spacecraft ID for which the attitude data are provided.voidsetObjectName(String objectName) Set the spacecraft name for which the attitude data are provided.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.Metadata
getFrameMapper, getLaunchNumber, getLaunchPiece, getLaunchYear, getTimeSystem, setTimeSystemMethods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Constructor Details
-
AdmMetadata
Simple constructor.- Parameters:
frameMapper- for creating an OrekitFrame.- Since:
- 13.1.5
-
-
Method Details
-
validate
public void validate(double version) Check is all mandatory entries have been initialized.This method should throw an exception if some mandatory entries are missing or not compatible with version number.
-
getObjectName
Get the spacecraft name for which the attitude data are provided.- Returns:
- the spacecraft name
-
setObjectName
Set the spacecraft name for which the attitude data are provided.- Parameters:
objectName- the spacecraft name to be set
-
getObjectID
Get the spacecraft ID for which the attitude data are provided.- Returns:
- the spacecraft ID
-
setObjectID
Set the spacecraft ID for which the attitude data are provided.- Parameters:
objectID- the spacecraft ID to be set
-
getLaunchYear
public int getLaunchYear()Get the launch year.- Returns:
- launch year
-
getLaunchNumber
public int getLaunchNumber()Get the launch number.- Returns:
- launch number
-
getLaunchPiece
Get the piece of launch.- Returns:
- piece of launch
-
getCenter
Get the body at origin of reference frame.- Returns:
- the body at origin of reference frame.
-
setCenter
Set the body at origin of reference frame.- Parameters:
center- body at origin of reference frame
-
getHasCreatableBody
public boolean getHasCreatableBody()Get boolean testing whether the body corresponding to the centerName attribute can be created through theCelestialBodies.- Returns:
- true if
CelestialBodycan be created from centerName false otherwise
-