public enum GeneralPerturbationObjectType extends Enum<GeneralPerturbationObjectType> implements Enumeration
UsafGeneralPerturbationElements
.Enum Constant and Description |
---|
DEBRIS
The orbiting body is debris.
|
PAYLOAD
The orbiting body is an active or inactive payload.
|
PLATFORM
The orbiting body is a platform.
|
ROCKET_BODY
The orbiting body is the spent upper stage of a launch vehicle,
an apogee kick motor, a perigee kick motor, or a payload assist module.
|
UNKNOWN
The orbiting body does not have a known classification.
|
Modifier and Type | Method and Description |
---|---|
static GeneralPerturbationObjectType |
getDefault()
Get the enum constant that is considered to be the default.
|
static GeneralPerturbationObjectType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static GeneralPerturbationObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneralPerturbationObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralPerturbationObjectType UNKNOWN
public static final GeneralPerturbationObjectType PAYLOAD
public static final GeneralPerturbationObjectType ROCKET_BODY
public static final GeneralPerturbationObjectType PLATFORM
public static final GeneralPerturbationObjectType DEBRIS
public static GeneralPerturbationObjectType[] values()
for (GeneralPerturbationObjectType c : GeneralPerturbationObjectType.values()) System.out.println(c);
public static GeneralPerturbationObjectType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static GeneralPerturbationObjectType getFromValue(int value)
value
- a numeric value.@Nonnull public static GeneralPerturbationObjectType getDefault()