Index
All Classes and Interfaces|All Packages|Serialized Form
G
- generateReport() - Method in class crms.lib.CarManager
-
Generates a report that shows the properties and availability of each
Car
object. - generateReport() - Method in interface crms.lib.IReportGenerator
-
Generates a report.
- generateReport() - Method in class crms.lib.RentalManager
-
Generates a report of all rentals.
- getBrand() - Method in class crms.lib.Car
-
Gets the brand of the
Car
. - getCar() - Method in class crms.lib.CarReport
-
Gets the
Car
object associated with this report. - getCar() - Method in class crms.lib.Rental
-
Gets the car being rented.
- getColumnCount() - Method in class crms.lib.gui.CarTableModel
- getColumnCount() - Method in class crms.lib.gui.RentalTableModel
- getColumnName(int) - Method in class crms.lib.gui.CarTableModel
- getColumnName(int) - Method in class crms.lib.gui.RentalTableModel
- getDatabase() - Method in class crms.lib.CarManager
-
Gets the car database.
- getDatabase() - Method in class crms.lib.RentalManager
-
Gets the rental database.
- getDescription() - Method in class crms.lib.Car
-
Gets the description of the
Car
. - getDuration() - Method in class crms.lib.RentalReport
-
Returns the formatted duration of the rental.
- getEndDate() - Method in class crms.lib.Rental
-
Gets the end date of the rental period.
- getId() - Method in class crms.lib.Car
-
Gets the unique ID of the
Car
. - getId() - Method in class crms.lib.Rental
-
Gets the unique ID of the rental.
- getInstance() - Static method in class crms.lib.CarDatabase
-
Returns the singleton instance of
CarDatabase
. - getInstance() - Static method in class crms.lib.RentalDatabase
-
Returns the singleton instance of
RentalDatabase
. - getItemById(String) - Method in class crms.lib.CarDatabase
-
Retrieves a
Car
object using the given ID. - getItemById(String) - Method in class crms.lib.Database
-
Retrieves an object by its ID.
- getItemById(String) - Method in class crms.lib.RentalDatabase
-
Retrieves a rental by its ID.
- getModel() - Method in class crms.lib.Car
-
Gets the model of the
Car
. - getPrice() - Method in class crms.lib.Car
-
Gets the price of the
Car
. - getRental() - Method in class crms.lib.RentalReport
-
Returns the rental associated with this report.
- getRentalPeriod() - Method in class crms.lib.Rental
-
Calculates the rental period.
- getReportAt(int) - Method in class crms.lib.gui.CarTableModel
- getReportAt(int) - Method in interface crms.lib.gui.IReportTableModel
- getReportAt(int) - Method in class crms.lib.gui.RentalTableModel
- getRowCount() - Method in class crms.lib.gui.CarTableModel
- getRowCount() - Method in class crms.lib.gui.RentalTableModel
- getStartDate() - Method in class crms.lib.Rental
-
Gets the start date of the rental period.
- getStatus() - Method in class crms.lib.RentalReport
-
Returns the current status of the rental.
- getValueAt(int, int) - Method in class crms.lib.gui.CarTableModel
- getValueAt(int, int) - Method in class crms.lib.gui.RentalTableModel
All Classes and Interfaces|All Packages|Serialized Form