Class TLcdAirspaceType

java.lang.Object
com.luciad.ais.model.airspace.type.TLcdAirspaceType

public class TLcdAirspaceType extends Object
Type safe enumeration class, indicating the type of airspace. The toString() method is overridden to provide a description of the airspace type. The getCode() method can be used to obtain the code that is commonly used for the given type of airspace.
  • Field Details

  • Method Details

    • getCode

      public String getCode()
      Returns the code of the TLcdAirspaceType object. The code differs from the value returned by toString(), and is typically an acronym that is suitable for serialization.
      Returns:
      the code of the TLcdAirspaceType object.
    • valueOf

      public static TLcdAirspaceType valueOf(String aCode)
      Returns the TLcdAirspaceType object matching the given code.
      Parameters:
      aCode - The key by which to retrieve a TLcdAirspaceType. This key must not be null.
      Returns:
      A TLcdAirspaceType object if the parameter matches to an airspace type, null otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object aObject)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object