Enum Class Surface

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

public enum Surface extends Enum<Surface>
An enumeration of Runway surface types.
Since:
6.4
Version:
9.0
Author:
Luke
  • Enum Constant Details

    • ASPHALT

      public static final Surface ASPHALT
    • BITUMINOUS

      public static final Surface BITUMINOUS
    • BRICK

      public static final Surface BRICK
    • CLAY

      public static final Surface CLAY
    • CEMENT

      public static final Surface CEMENT
    • CONCRETE

      public static final Surface CONCRETE
    • CORAL

      public static final Surface CORAL
    • DIRT

      public static final Surface DIRT
    • GRASS

      public static final Surface GRASS
    • GRAVEL

      public static final Surface GRAVEL
    • ICE

      public static final Surface ICE
    • MACADAM

      public static final Surface MACADAM
    • OIL_TREATED

      public static final Surface OIL_TREATED
    • PLANKS

      public static final Surface PLANKS
    • SAND

      public static final Surface SAND
    • SHALE

      public static final Surface SHALE
    • SNOW

      public static final Surface SNOW
    • MATS

      public static final Surface MATS
    • TARMAC

      public static final Surface TARMAC
    • UNKNOWN

      public static final Surface UNKNOWN
    • WATER

      public static final Surface WATER
  • Method Details

    • values

      public static Surface[] 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 Surface 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 surface name.
      Returns:
      the name
    • isHard

      public boolean isHard()
      Returns whether this is a hard/paved surface.
      Returns:
      TRUE if paved, otherwise FALSE