public enum RestrictiveAirspaceType extends Enum<RestrictiveAirspaceType>
Java class for RestrictiveAirspaceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RestrictiveAirspaceType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Alert"/> <enumeration value="Caution"/> <enumeration value="Danger"/> <enumeration value="LongTermTFR"/> <enumeration value="MilitaryOps"/> <enumeration value="NationalSecurity"/> <enumeration value="Prohibited"/> <enumeration value="Restricted"/> <enumeration value="Training"/> <enumeration value="Warning"/> <enumeration value="Unspecified"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ALERT
Alert
|
CAUTION
Caution
|
DANGER
Danger
|
LONG_TERM_TFR
Long-term TFR
|
MILITARY_OPS
Military Operations Area
|
NATIONAL_SECURITY
National Security Area
|
PROHIBITED
Prohibited
|
RESTRICTED
Restricted
|
TRAINING
Training
|
UNSPECIFIED
Unspecified or Unknown
|
WARNING
Warning
|
Modifier and Type | Method and Description |
---|---|
static RestrictiveAirspaceType |
fromValue(String v) |
String |
value() |
static RestrictiveAirspaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictiveAirspaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictiveAirspaceType ALERT
public static final RestrictiveAirspaceType CAUTION
public static final RestrictiveAirspaceType DANGER
public static final RestrictiveAirspaceType LONG_TERM_TFR
public static final RestrictiveAirspaceType MILITARY_OPS
public static final RestrictiveAirspaceType NATIONAL_SECURITY
public static final RestrictiveAirspaceType PROHIBITED
public static final RestrictiveAirspaceType RESTRICTED
public static final RestrictiveAirspaceType TRAINING
public static final RestrictiveAirspaceType WARNING
public static final RestrictiveAirspaceType UNSPECIFIED
public static RestrictiveAirspaceType[] values()
for (RestrictiveAirspaceType c : RestrictiveAirspaceType.values()) System.out.println(c);
public static RestrictiveAirspaceType 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 String value()
public static RestrictiveAirspaceType fromValue(String v)
Copyright © 2020. All rights reserved.