Fleet and contract modelling

Vehicle rental: Java OOP

Application modelling an agency, fleet, customers, rental contracts and several vehicle types.

Fleet and contract modellingTechnical demonstration

Vehicle rental: Java OOP

Application modelling an agency, fleet, customers, rental contracts and several vehicle types.

Challenge:
Manage cars, motorcycles and trucks with shared rules without duplicating structure or contract logic.
Solution:
Java vehicle hierarchy plus agency, fleet, customer and rental-contract classes.
Technical role:
Object-oriented design, inheritance, encapsulation and fleet/contract operations.
Value:
The public code separates vehicles, customers, fleet and contracting into nine identifiable classes.
What you can inspect:
Public Java sources for Agency, Fleet, Vehicle, Car, Motorcycle, Truck, Customer and RentalContract.
JavaOOPInheritanceContractsNetBeans
Java OOPSoftware architecture

In practice: Fleet and contract modelling in Java through inheritance and encapsulation, with separate classes for agency, customer, vehicle and contract.