Package reservations

Interface Summary
Airport A class implementing the Airport interface will provide these pieces of identifying information.
Flight This interface describes the pieces of information (in the form of object references) that a airline flight should be able to return.
Itinerary This interface is used to represent airline flight starting and destination cities and departure times.
Passenger This interface defines all that you are required to provide for a person with a reservation on a flight.
Reservation This interface describes the pieces of information (in the form of object references) that a airline flight reservation should be able to return.
ReservationRequest This interface defines the information that your part of the airline reservation system will be provided that simulates passengers attempting to book seats on your flights.
Seat This optional interface (optional in the sense that if you choose to implement seat assignments in your system, your implementation of seat assignments should fully implement this interface to return meaningful results.
SeatPrice This is a marker/placeholder interface for an object type that encapsulates some seat cost information.
 

Class Summary
DateGenerator A helper class to generate Dates in the future.
FlightTest Provides a test of an implementation of a class that implements the Flight interface provided the implementation class has a constructor that takes an Itinerary object, as required.
ItineraryReader A helper class designed to read a file of flight destinations
ItineraryTest Provides a test of the ItineraryReader and a way to dump the contents of the destinations file in the forms of Itinerary objects.
ReservationRequestGenerator A helper class to generate ReservationRequest objects that can be used with Flights and Itineraries.
ReservationRequestTest Provides a test of the ReservationRequestGenerator.
SeatCategory A simple typesafe enumeration of seat categories.
Time A utility class to encapsulate time of day comparisons.
 

Exception Summary
ItineraryException Thrown when Itinerary pre-conditions have not been met.
ReservationException ReservationException is the superclass of those exceptions that are related to the reservation system.
ReservationRequestException Thrown to indicate a problem with ReservationRequests.