Class ATIS

java.lang.Object
org.deltava.beans.navdata.ATIS
All Implemented Interfaces:
Serializable, Cacheable

public class ATIS extends Object implements Cacheable
A bean to store Airport ATIS information.
Since:
10.3
Version:
10.3
Author:
Luke
See Also:
  • Constructor Details

    • ATIS

      public ATIS(Airport a, ATISType t)
      Creates the bean.
      Parameters:
      a - an Airport
      t - the ATISType
  • Method Details

    • getAirport

      public Airport getAirport()
      Returns the Airport for this ATI.
      Returns:
      an Airport
    • getType

      public ATISType getType()
      Returns the ATIS type.
      Returns:
      an ATISType
    • getEffectiveDate

      public Instant getEffectiveDate()
      Returns the ATIS effective date.
      Returns:
      the effective date/time
    • getCode

      public char getCode()
      Returns the ATIS code.
      Returns:
      the code
    • getData

      public String getData()
      Returns the ATIS data.
      Returns:
      the ATIS message
    • setEffectiveDate

      public void setEffectiveDate(Instant dt)
      Updates the effective date.
      Parameters:
      dt - the effective date/time
    • setCode

      public void setCode(char c)
      Updates the ATIS code.
      Parameters:
      c - the code
    • setData

      public void setData(String msg)
      Updates the ATIS data.
      Parameters:
      msg - the ATIS message
    • cacheKey

      public Object cacheKey()
      Description copied from interface: Cacheable
      Returns the cache key for this object. Caches call this method when adding the object.
      Specified by:
      cacheKey in interface Cacheable
      Returns:
      the cache key for the object