-
Creates a Car
object with specified brand, model, description,
and price.
Gets the Car
object associated with this report.
Gets the car being rented.
Retrieves a Car
object using the given ID.
Methods in crms.lib that return types with arguments of type Car
boolean
Checks if the specified car is available for rental during the given
dates.
boolean
Checks if the specified car is currently available for rental.
boolean
Checks if the specified car is currently available for rental.
boolean
Adds a Car
to the inventory if its ID is unique.
boolean
Removes a Car
from the inventory based on its unique ID.
boolean
Attempts to rent a car for the specified period.
Constructs a CarReport
object with the specified car and
availability status.
Creates a new Rental object with the specified properties.
Constructor parameters in crms.lib with type arguments of type Car
Constructs a CarFactory
object.
Constructs a CarManager
with the specified car and rental
databases.