Uses of Class
crms.lib.Database
Packages that use Database
-
Uses of Database in crms.lib
Modifier and TypeClassDescriptionclass
TheCarDatabase
class manages the collection of recordedCar
objects in the local database and performs various operations related to them.class
TheRentalDatabase
class is responsible for managing rental operations including fetching recordedRental
objects from the local database, checking car availability, and generating rental reports.Modifier and TypeMethodDescriptionCarManager.getDatabase()
Gets the car database.RentalManager.getDatabase()
Gets the rental database.ModifierConstructorDescriptionCarFactory
(Database<Car> carDatabase) Constructs aCarFactory
object.CarManager
(Database<Car> carDatabase, Database<Rental> rentalDatabase) Constructs aCarManager
with the specified car and rental databases.RentalManager
(Database<Rental> database) Constructs aRentalManager
with the specified rental database.