/*
 * @topic T02455 Assignment a8 -- Airline Flight Schedule demo
 * @brief Thursday 11/29/2012 -- a design that maintains maps of departures and arrivals in the schedule
*/

---------------------------------
BUSINESS TIER CLASSES
---------------------------------

--------------
FlightSchedule
--------------
-airlines : ArrayList< Airline > 
-clock : int // can be static
-flightMap : HashMap< flightNumber:String, Flight > // airlineCode + airFlightNumber//"DL1234"
-departureMap : TreeMap< (airportCode+time):String, flightNumber:String >
-arrivalMap : TreeMap< (airportCode+time):String, flightNumber:String >
+addAirline()
+addFlight()
+deleteAllRecords()
+updateFlightStatus( flightNumber:String, status:char )
+showFlightInfo( flightNumber:String )
	{
		if ( flightMap.contains( flightNumber ) ) {
			Flight fl = flightMap.get( flightNumber );
			fl.printInfo();
		}
	}
+showDepartures( airportCode:String, weekDay:char )
+showArrivals( airportCode:String, weekDay:char )

--------------
Flight
--------------
-airlineCode
-airlineFlightNumber : int
-status
-type // Domestic/International
-departure : DepartureArrivalInfo
-arrival : DepartureArrivalInfo
+updateFlightStatus( status:char )
+getDepartureAirport() : String

--------------
Airline
--------------
-name
-code
-aircraftModel
-aircraftCount : int

---------------------
DepartureArrivalInfo
---------------------
-weekDay : char // U, M, T, W, R, F, S
-time : int
-airportCode : String
-gate : String
+getAirportCode() : String