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="H"/> <enumeration value="M"/> <enumeration value="L"/> </restriction> </simpleType>
Enum Constant and Description |
---|
H
Heavy, all aircraft types of 136,000kg (300000LB) or more.
|
L
Light, aircraft types of 7,000kg (155,000LB) or less
|
M
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 H
public static final ATCWeightCategory M
public static final ATCWeightCategory L
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 © 2017. All rights reserved.