A B C D E F G I L M N O P R S T U V

G

getAdminMainMenuChoice() - Method in class airline.Connection
This dialog is responsible for offering the main administrator menu and returning the user's choice.
getAdminMainMenuChoice() - Method in class airline.TextConnection
 
getAllAssignedSeats() - Method in class airline.Flight
Returns an Iterator reporting the String designator (e.g., "28C") for each assigned seat, in row-major order.
getAllEmptySeats() - Method in class airline.Flight
Returns an Iterator reporting the String designator (e.g., "28C") for each empty seat, in row-major order.
getAllFlights() - Method in class airline.AirlineSystem
Returns an array of all flights currently in the system.
getAllLegs() - Method in class airline.Reservation
Returns an Iterator reporting all flights for this reservation.
getAllTravelerNames() - Method in class airline.Reservation
Returns an Iterator reporting names of all travelers on this reservation.
getAllUsers() - Method in class airline.AirlineSystem
Returns an array of all flights currently in the system.
getBooker() - Method in class airline.Reservation
Returns the Customer who booked the reservation.
getDestination() - Method in class airline.Flight
Return the airport code for the destination city.
getFlight(String) - Method in class airline.AirlineSystem.FlightDB
Returns the Flight associated with the given code.
getFlight(String) - Method in class airline.AirlineSystem
Returns the Flight with the given flight code (e.g., "UA200").
getFlight() - Method in class airline.Flight.Ticket
Returns a reference to the associated Flight.
getFlightCode() - Method in class airline.Flight
Returns the (presumably unique) flight code (e.g., "UA200").
getFullName() - Method in class airline.Customer
Returns the full name of this customer.
getLeg(int) - Method in class airline.Reservation
Returns the Flight with the given index.
getLocator() - Method in class airline.Reservation
Return the record locator for this reservation.
getNewFlightInfo() - Method in class airline.Connection
This dialog is responsible for gathering information from an administrator while adding a new flight to the system.
getNewFlightInfo() - Method in class airline.TextConnection
 
getNumberEmptySeats() - Method in class airline.Flight
Returns the current number of available seats on the flight.
getNumLegs() - Method in class airline.Reservation
Returns the number of flight legs booked on this reservation.
getNumTravelers() - Method in class airline.Reservation
Returns the number of travelers booked on this reservation.
getOrigin() - Method in class airline.Flight
Return the airport code for the originating city.
getPassenger(String) - Method in class airline.Flight
Returns the name of the passenger in the given seat.
getSeat() - Method in class airline.Flight.Ticket
Returns the string representation of the seat (e.g., "28C").
getSession(Connection) - Method in class airline.Administrator
Overrides the factory function User.getSession in order to provide an appropriate AdministratorSession.
getSession(Connection) - Method in class airline.Customer
Overrides the factory function User.getSession in order to provide an appropriate CustomerSession.
getSession(Connection) - Method in class airline.User
A factory function producing an appropriate UserSession for this user.
getTicket(int, int) - Method in class airline.Reservation
Returns the ticket for the given traveler on the given leg of the reservation.
getTravelerName() - Method in class airline.Flight.Ticket
Returns the name of the traveler for this ticket.
getTravelerName(int) - Method in class airline.Reservation
Returns the name of the traveler with given index.
getUser(String) - Method in class airline.AirlineSystem
Returns the User associated with the given ID.
getUser(String) - Method in class airline.AirlineSystem.UserDB
Returns the User associated with the given ID.
getUserID() - Method in class airline.User
Returns this customer's unique user ID

A B C D E F G I L M N O P R S T U V