The project is to be coded in Java, preferably as a JBuilder project file. Problem Statement You are to develop an airline reservation system. The airline reservation system is similar to those used by travel agents. The airline reservation system maintains a list of passengers that have used the system. (To simplify the solution you can assume that all passengers have a unique surname). It also maintains a list of airlines that can be accessed through the system. Each airline has a unique name. An airline maintains a list of flights that it services. All flight names are unique to each airline. A flight has a name, start location, end location and a list of passengers that are booked onto the flight. The airline reservation system should allow you to add new objects to the system. In particular you should be able to: - add a new passenger to the airline reservation system - add a new airline to the airline reservation system - add a new flight to an airline - book a passenger onto a flight All of the additions must be made through the airline reservation system. Do not make additions directly using other classes, it is the job of the airline reservation system to manage these additions. The airline reservation system should allow you to view its current state. In particular you should be able to display: - a list of passengers registered on the airline reservation system - a list of airlines registered on the airline reservation system For each airline you should be able to display a list of flights and all of the details about a flight including the passenger list. Flights should also know about which airline they belong to. All data entries must be validated. You should implement methods, on the airline reservation system class, for each of the method signatures given below. Marks will be deducted for methods that have not been implemented. Pay particular attention to the parameter lists and return types. public void addAirline(Airline anAirline) public void addFlightToAirlineNamed(Flight aFlight, String anAirlineName) public void updatePassengerData(Passenger aPassenger) public void makeFlightBooking(Passenger aPassenger, String anAirlineName, String flightName)
Work done to spec attached, not neccasarily the GUI and serialisation but helpful if included. Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.