Uses of Class
bcu.cmp5332.bookingsystem.model.Booking
Packages that use Booking
-
Uses of Booking in bcu.cmp5332.bookingsystem.model
Methods in bcu.cmp5332.bookingsystem.model that return BookingModifier and TypeMethodDescriptionFlightBookingSystem.getBookingByID
(int bookingID) Retrieves a booking by its ID.Booking[]
FlightBookingSystem.getBookings()
Retrieves an array of all bookings in the system.Methods in bcu.cmp5332.bookingsystem.model that return types with arguments of type BookingModifier and TypeMethodDescriptionCustomer.getBookings()
Retrieves a copy of the list of bookings made by the customer.Methods in bcu.cmp5332.bookingsystem.model with parameters of type BookingModifier and TypeMethodDescriptionvoid
Customer.addBooking
(Booking booking) Adds a booking to the list of bookings made by the customer.void
FlightBookingSystem.addBooking
(Booking booking) Adds a booking to the system.