Package org.orekit.files.ccsds.ndm.odm
Enum SpacecraftParametersKey
- java.lang.Object
-
- java.lang.Enum<SpacecraftParametersKey>
-
- org.orekit.files.ccsds.ndm.odm.SpacecraftParametersKey
-
- All Implemented Interfaces:
Serializable
,Comparable<SpacecraftParametersKey>
public enum SpacecraftParametersKey extends Enum<SpacecraftParametersKey>
Keys forODM spacecraft parameters
entries.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
Comment entry.DRAG_AREA
Drag area.DRAG_COEFF
Drag coefficient.MASS
Spacecraft mass.SOLAR_RAD_AREA
Solar radiation pressure area.SOLAR_RAD_COEFF
Solar radiation pressure coefficient.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(ParseToken token, ContextBinding context, SpacecraftParameters container)
Process one token.static SpacecraftParametersKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpacecraftParametersKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMENT
public static final SpacecraftParametersKey COMMENT
Comment entry.
-
MASS
public static final SpacecraftParametersKey MASS
Spacecraft mass.
-
SOLAR_RAD_AREA
public static final SpacecraftParametersKey SOLAR_RAD_AREA
Solar radiation pressure area.
-
SOLAR_RAD_COEFF
public static final SpacecraftParametersKey SOLAR_RAD_COEFF
Solar radiation pressure coefficient.
-
DRAG_AREA
public static final SpacecraftParametersKey DRAG_AREA
Drag area.
-
DRAG_COEFF
public static final SpacecraftParametersKey DRAG_COEFF
Drag coefficient.
-
-
Method Detail
-
values
public static SpacecraftParametersKey[] 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 (SpacecraftParametersKey c : SpacecraftParametersKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpacecraftParametersKey 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, SpacecraftParameters container)
Process one token.- Parameters:
token
- token to processcontext
- context bindingcontainer
- container to fill- Returns:
- true of token was accepted
-
-