Enum ManeuverKey
- java.lang.Object
-
- java.lang.Enum<ManeuverKey>
-
- org.orekit.files.ccsds.ndm.adm.apm.ManeuverKey
-
- All Implemented Interfaces:
Serializable
,Comparable<ManeuverKey>
public enum ManeuverKey extends Enum<ManeuverKey>
Keys forAPM maneuver
entries.- Since:
- 11.0
- Author:
- Bryan Cazabonne, Luc Maisonobe
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
Comment entry.MAN_DELTA_MASS
Mass change entry.MAN_DURATION
Duration entry.MAN_EPOCH_START
Epoch start entry.MAN_REF_FRAME
Reference frame entry.MAN_TOR_1
First torque vector component entry (ADM V1 only).MAN_TOR_2
Second torque vector component entry (ADM V1 only).MAN_TOR_3
Third torque vector component entry (ADM V1 only).MAN_TOR_X
First torque vector component entry.MAN_TOR_Y
Second torque vector component entry.MAN_TOR_Z
Third torque vector component entry.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(ParseToken token, ContextBinding context, Maneuver container)
Process one token.static ManeuverKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static ManeuverKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMENT
public static final ManeuverKey COMMENT
Comment entry.
-
MAN_EPOCH_START
public static final ManeuverKey MAN_EPOCH_START
Epoch start entry.
-
MAN_DURATION
public static final ManeuverKey MAN_DURATION
Duration entry.
-
MAN_REF_FRAME
public static final ManeuverKey MAN_REF_FRAME
Reference frame entry.
-
MAN_TOR_1
public static final ManeuverKey MAN_TOR_1
First torque vector component entry (ADM V1 only).
-
MAN_TOR_X
public static final ManeuverKey MAN_TOR_X
First torque vector component entry.- Since:
- 12.0
-
MAN_TOR_2
public static final ManeuverKey MAN_TOR_2
Second torque vector component entry (ADM V1 only).
-
MAN_TOR_Y
public static final ManeuverKey MAN_TOR_Y
Second torque vector component entry.- Since:
- 12.0
-
MAN_TOR_3
public static final ManeuverKey MAN_TOR_3
Third torque vector component entry (ADM V1 only).
-
MAN_TOR_Z
public static final ManeuverKey MAN_TOR_Z
Third torque vector component entry.- Since:
- 12.0
-
MAN_DELTA_MASS
public static final ManeuverKey MAN_DELTA_MASS
Mass change entry.- Since:
- 12.0
-
-
Method Detail
-
values
public static ManeuverKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ManeuverKey c : ManeuverKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManeuverKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
process
public boolean process(ParseToken token, ContextBinding context, Maneuver container)
Process one token.- Parameters:
token
- token to processcontext
- context bindingcontainer
- container to fill- Returns:
- true of token was accepted
-
-