DomesticAirport

public class DomesticAirport extends Airport

This class stores information about a domestic (UK) airport.

Author:Milan Lovric

Constructors

DomesticAirport

public DomesticAirport(String iataCode, String atcoCode, String caaName, String naptanName, String ourAirportsName, int easting, int northing, double longitude, double latitude, String ladCode, String ladName, long terminalCapacity, long runwayCapacity)

Constructor for the airport.

Parameters:
  • iataCode – Airport IATA code.
  • atcoCode – Airport ATCO code.
  • caaName – Airport name in CCA datasets.
  • naptanName – Airport name in NaPTAN (for UK airpots).
  • ourAirportsName – Airport name in ourAirports dataset.
  • easting – Easting coordinate.
  • northing – Northing coordinate.
  • longitude – Longitude coordinate.
  • latitude – Latitude coordinate.
  • ladCode – LAD code of the zone in which the airport is located (for UK airports).
  • ladName – LAD name of the zone in which the airport is located (for UK airports).
  • terminalCapacity – Airport terminal capacity (max number of passengers that can be processed).
  • runwayCapacity – Airport runway capacity (max number of flights that can be processed).

DomesticAirport

public DomesticAirport(DomesticAirport airport)

Constructor for an airport.

Parameters:
  • airport – Airport which data is going to be copied.

Methods

getAtcoCode

public String getAtcoCode()

Getter method for the airport ATCO code.

Returns:NaPTAN name.

getEasting

public int getEasting()

Getter method for easting.

Returns:Easting.

getLADCode

public String getLADCode()

Getter method for the LAD code in which station is located.

Returns:LAD code.

getLADName

public String getLADName()

Getter method for the LAD name in which station is located.

Returns:LAD name.

getNaPTANName

public String getNaPTANName()

Getter method for the airport NaPTAN name.

Returns:NaPTAN name.

getNorthing

public int getNorthing()

Getter method for Northing.

Returns:Northing.

toString

public String toString()