reservations
Interface Flight


public interface Flight

This interface describes the pieces of information (in the form of object references) that a airline flight should be able to return.


Method Summary
 Itinerary getItinerary()
          Should return the Itinerary (starting and destination airports) that the Flight will connect.
 java.util.Date getLeavingTime()
          Should return the date/time that a flight will take off.
 java.util.Iterator getReservationIterator()
          Should return an iterator for a collection of Reservation objects that represent the passengers who have reserved seat son this flight.
 

Method Detail

getLeavingTime

public java.util.Date getLeavingTime()
Should return the date/time that a flight will take off.


getItinerary

public Itinerary getItinerary()
Should return the Itinerary (starting and destination airports) that the Flight will connect.


getReservationIterator

public java.util.Iterator getReservationIterator()
Should return an iterator for a collection of Reservation objects that represent the passengers who have reserved seat son this flight.