Enum Class Navaid

java.lang.Object
java.lang.Enum<Navaid>
org.deltava.beans.navdata.Navaid
All Implemented Interfaces:
Serializable, Comparable<Navaid>, Constable

public enum Navaid extends Enum<Navaid>
An enumeration for Navigation Data element types.
Since:
5.0
Version:
5.1
Author:
Luke
  • Enum Constant Details

    • AIRPORT

      public static final Navaid AIRPORT
    • VOR

      public static final Navaid VOR
    • NDB

      public static final Navaid NDB
    • INT

      public static final Navaid INT
    • RUNWAY

      public static final Navaid RUNWAY
    • GATE

      public static final Navaid GATE
  • Method Details

    • values

      public static Navaid[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Navaid valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Returns the type name.
      Returns:
      the type name
    • fromName

      public static Navaid fromName(String name)
      Retrieves a Navaid type based on its name.
      Parameters:
      name - the name
      Returns:
      a Navaid or INT if not found