Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- SEPARATOR - Static variable in interface bcu.cmp5332.bookingsystem.data.DataManager
-
The delimiter used to separate fields in the data source.
- setBookingDate(LocalDate) - Method in class bcu.cmp5332.bookingsystem.model.Booking
-
Sets the booking date of the booking.
- setCapacity(int) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Sets the capacity of the flight (number of seats).
- setCustomer(Customer) - Method in class bcu.cmp5332.bookingsystem.model.Booking
-
Sets the customer associated with the booking.
- setDeleted() - Method in class bcu.cmp5332.bookingsystem.model.Customer
-
Marks the customer as deleted from the system.
- setDepartureDate(LocalDate) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Sets the departure date of the flight.
- setDestination(String) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Sets the destination of the flight.
- setEmail(String) - Method in class bcu.cmp5332.bookingsystem.model.Customer
-
Sets the email address of the customer.
- setFlightNumber(String) - Method in class bcu.cmp5332.bookingsystem.model.Booking
-
Sets the flight number for the outbound flight.
- setFlightNumber(String) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Sets the flight number.
- setId(int) - Method in class bcu.cmp5332.bookingsystem.model.Customer
-
Sets the unique identifier of the customer.
- setId(int) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Sets the unique identifier of the flight.
- setName(String) - Method in class bcu.cmp5332.bookingsystem.model.Customer
-
Sets the name of the customer.
- setOrigin(String) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Sets the origin of the flight.
- setOutboundFlight(Flight) - Method in class bcu.cmp5332.bookingsystem.model.Booking
-
Sets the outbound flight of the booking.
- setPhone(String) - Method in class bcu.cmp5332.bookingsystem.model.Customer
-
Sets the phone number of the customer.
- setPrice(double) - Method in class bcu.cmp5332.bookingsystem.model.Booking
-
Sets the price of the booking.
- setPrice(double) - Method in class bcu.cmp5332.bookingsystem.model.Flight
-
Sets the price per seat of the flight.
- setReturnFlight(Flight) - Method in class bcu.cmp5332.bookingsystem.model.Booking
-
Sets the return flight of the booking.
- setUp() - Method in class test.BookingTest
- setUp() - Method in class test.CustomerTest
- setUp() - Method in class test.FlightBookingSystemTest
- setUp() - Method in class test.FlightTest
- ShowCustomer - Class in bcu.cmp5332.bookingsystem.commands
-
The ShowCustomer class represents a command to display details of a specific customer.
- ShowCustomer(int) - Constructor for class bcu.cmp5332.bookingsystem.commands.ShowCustomer
-
Constructs a ShowCustomer command object with the specified customer ID.
- showDetails() - Method in class bcu.cmp5332.bookingsystem.model.Customer
-
Prints detailed information about the customer and their bookings to the console.
- ShowFlight - Class in bcu.cmp5332.bookingsystem.commands
-
The ShowFlight class represents a command to display detailed information about a specific flight.
- ShowFlight(int) - Constructor for class bcu.cmp5332.bookingsystem.commands.ShowFlight
-
Constructs a ShowFlight command object with the specified flight ID.
- ShowFlights - Class in bcu.cmp5332.bookingsystem.commands
-
The ShowFlights class represents a command to display a list of flights with their short details.
- ShowFlights() - Constructor for class bcu.cmp5332.bookingsystem.commands.ShowFlights
- store(FlightBookingSystem) - Static method in class bcu.cmp5332.bookingsystem.data.FlightBookingSystemData
-
Stores the flight booking system data.
- storeData(FlightBookingSystem) - Method in class bcu.cmp5332.bookingsystem.data.BookingDataManager
-
Stores current booking data from the provided FlightBookingSystem instance into the bookings data file.
- storeData(FlightBookingSystem) - Method in class bcu.cmp5332.bookingsystem.data.CustomerDataManager
-
Stores current customer data from the provided FlightBookingSystem instance into the customers data file.
- storeData(FlightBookingSystem) - Method in interface bcu.cmp5332.bookingsystem.data.DataManager
-
Stores current data from the provided FlightBookingSystem instance into a data source.
- storeData(FlightBookingSystem) - Method in class bcu.cmp5332.bookingsystem.data.FeedbackDataManager
-
Stores current feedback data from the provided FlightBookingSystem instance into the feedback data file.
- storeData(FlightBookingSystem) - Method in class bcu.cmp5332.bookingsystem.data.FlightDataManager
-
Stores the flight data from the
FlightBookingSystem
to the resource file.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form