public enum AtcWeightCategory extends Enum<AtcWeightCategory>
Java class for AtcWeightCategory.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AtcWeightCategory"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Heavy"/> <enumeration value="Medium"/> <enumeration value="Light"/> </restriction> </simpleType>
Enum Constant and Description |
---|
HEAVY
Heavy, all aircraft types of 136,000kg (300000LB) or more.
|
LIGHT
Light, aircraft types of 7,000kg (155,000LB) or less
|
MEDIUM
Medium, aircraft types less than 136,000kg (300,000LB) and more than 7,000kg (155,000LB).
|
Modifier and Type | Method and Description |
---|---|
static AtcWeightCategory |
fromValue(String v) |
String |
value() |
static AtcWeightCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AtcWeightCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtcWeightCategory HEAVY
public static final AtcWeightCategory MEDIUM
public static final AtcWeightCategory LIGHT
public static AtcWeightCategory[] values()
for (AtcWeightCategory c : AtcWeightCategory.values()) System.out.println(c);
public static AtcWeightCategory 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 AtcWeightCategory fromValue(String v)
Copyright © 2020. All rights reserved.