Package com.chrt.api.types
Enum FlightStatusEnum.Value
- java.lang.Object
-
- java.lang.Enum<FlightStatusEnum.Value>
-
- com.chrt.api.types.FlightStatusEnum.Value
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FlightStatusEnum.Value>
- Enclosing class:
- FlightStatusEnum
public static enum FlightStatusEnum.Value extends java.lang.Enum<FlightStatusEnum.Value>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _UNKNOWNARRIVED_AT_GATECANCELLEDDEPARTED_FROM_GATEDIVERTEDIN_FLIGHTLANDEDSCHEDULEDUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlightStatusEnum.ValuevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FlightStatusEnum.Value[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final FlightStatusEnum.Value UNKNOWN
-
SCHEDULED
public static final FlightStatusEnum.Value SCHEDULED
-
DEPARTED_FROM_GATE
public static final FlightStatusEnum.Value DEPARTED_FROM_GATE
-
IN_FLIGHT
public static final FlightStatusEnum.Value IN_FLIGHT
-
LANDED
public static final FlightStatusEnum.Value LANDED
-
ARRIVED_AT_GATE
public static final FlightStatusEnum.Value ARRIVED_AT_GATE
-
DIVERTED
public static final FlightStatusEnum.Value DIVERTED
-
CANCELLED
public static final FlightStatusEnum.Value CANCELLED
-
_UNKNOWN
public static final FlightStatusEnum.Value _UNKNOWN
-
-
Method Detail
-
values
public static FlightStatusEnum.Value[] 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 (FlightStatusEnum.Value c : FlightStatusEnum.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlightStatusEnum.Value valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-