Package org.orekit.files.ccsds.ndm.cdm
Enum Maneuvrable
- java.lang.Object
-
- java.lang.Enum<Maneuvrable>
-
- org.orekit.files.ccsds.ndm.cdm.Maneuvrable
-
- All Implemented Interfaces:
Serializable
,Comparable<Maneuvrable>
public enum Maneuvrable extends Enum<Maneuvrable>
Maneuvrable possibilities used in CCSDS Conjunction Data Messages.- Since:
- 11.2
- Author:
- Melina Vanel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Maneuvrable
getEnum(String keyValue)
Get the enum entry corresponding to the given String.String
getValue()
Get the String representation of the enum.String
toString()
.static Maneuvrable
valueOf(String name)
Returns the enum constant of this type with the specified name.static Maneuvrable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YES
public static final Maneuvrable YES
Maneuvrable.
-
NO
public static final Maneuvrable NO
Non Maneuvrable.
-
N_A
public static final Maneuvrable N_A
Don't know or not applicable.
-
-
Method Detail
-
values
public static Maneuvrable[] 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 (Maneuvrable c : Maneuvrable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Maneuvrable 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
-
getValue
public String getValue()
Get the String representation of the enum.- Returns:
- the String representation of the enum
-
toString
public String toString()
.- Overrides:
toString
in classEnum<Maneuvrable>
-
getEnum
public static Maneuvrable getEnum(String keyValue)
Get the enum entry corresponding to the given String.- Parameters:
keyValue
- input Sring value- Returns:
- the corresponding enum entry
- Throws:
IllegalArgumentException
- if there is no enum entry corresponding to the given String value
-
-