Enum SpacecraftParametersKey
- java.lang.Object
-
- java.lang.Enum<SpacecraftParametersKey>
-
- org.orekit.files.ccsds.ndm.adm.apm.SpacecraftParametersKey
-
- All Implemented Interfaces:
Serializable
,Comparable<SpacecraftParametersKey>
public enum SpacecraftParametersKey extends Enum<SpacecraftParametersKey>
Keys forAPM spacecraft parameters
entries.- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
Comment entry.I11
1-axis moment of inertia entry.I12
1-axis / 2-axis inertia cross product entry.I13
1-axis / 3-axis inertia cross product entry.I22
2-axis moment of inertia entry.I23
2-axis / 3-axis inertia cross product entry.I33
3-axis moment of inertia entry.INERTIA_REF_FRAME
Inertia reference frame entry.
-
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.
-
INERTIA_REF_FRAME
public static final SpacecraftParametersKey INERTIA_REF_FRAME
Inertia reference frame entry.
-
I11
public static final SpacecraftParametersKey I11
1-axis moment of inertia entry.
-
I22
public static final SpacecraftParametersKey I22
2-axis moment of inertia entry.
-
I33
public static final SpacecraftParametersKey I33
3-axis moment of inertia entry.
-
I12
public static final SpacecraftParametersKey I12
1-axis / 2-axis inertia cross product entry.
-
I13
public static final SpacecraftParametersKey I13
1-axis / 3-axis inertia cross product entry.
-
I23
public static final SpacecraftParametersKey I23
2-axis / 3-axis inertia cross product entry.
-
-
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
-
-