Software Engineering and Ethics ||::|| CPE0907341 ||::||
Jordan University :: Faculty of Engineering :: || Computer Engineering Department ||
Car Rental System --------------------------------:::::::::::::-------------------------------By: Malek Z. Abu-Ghanemeh, 0076627 Under Supervision of : Eng. Zahra J. Muhsin
Car Rental System
Main Page
- System Description/Specification - Operation Observation. - Diagrams: o Context Diagram. o Use Case Diagram. o Class Diagram o Sequence Diagram. - Collaboration Diagram. :::: System Description/Specification ::::
ABC Company rents vehicles to customers. A vehicle is either a car or a motorcycle. Customers can book the loan of a vehicle by placing an order with the sales person. The order contains the date(s) that the vehicle is required and the type of vehicle wanted. A separate order for each vehicle required needs to be placed. On receipt of an order, the sales person uses the computer system to check whether the vehicle of the correct type is available for hire on the dates specified in the customer's order. Rental dates are specified as either "start date" and "end date" or "start date" and "number of days". If the ordered vehicle is available, it will be "booked" and a rental agreement is produced and sent to the customer. If the vehicle is unavailable, a notification of unavailability will then be sent to the customer.
Main Observation about the Operation of the System Vehicle is either: a car or a motorcycle. Customers can book the loan of a vehicle by placing an order with the sales person. The order contains: the date(s) that the vehicle is required and the type of vehicle wanted. Separate order for each vehicle required needs to be placed. On receipt of an order, the sales person check whether the vehicle of the correct type is available for hire on the dates specified in the customer's order. Rental dates are specified as either: 1) "start date" and "end date" or 2) "start date" and "number of days". If the ordered vehicle is available, it will be "booked" and a rental agreement is produced and sent to the customer. if the vehicle is unavailable, a notification of unavailability will then be sent to the customer.
These notes will help us In building our system
Car Rental System
:: Context Diagram ::
Vechile Ordering System
Customer's System
Vehcile's Status System
Car Rental System
Security System
Maintainance
System
Car Rental System
(To illustrate the operational context of a system )
:: Use Case Diagram :: (Shows the typical interaction between a user and a system to achieve our goal. )
:: Class Diagram :: (Shows the typical interaction between a user and a system to achieve our goal. )
:: Sequence Diagram :: ( Demonstrate the time ordering of message flows between objects)
A salesperson for the Car Rental Company will (1) check if an order is valid. A valid order has a rental (2) start date and a rental end date. Valid orders are (3) checked against the company's list of vehicles to determine whether or not the order can be fulfilled. (4) If the ordered vehicle is available, it will be (5) booked against that order and a rental agreement is produced. Otherwise, a (6) notification of unavailability is produced and sent to the customer.
:: Collaboration Diagram :: (Same scenario as sequence diagram)
References Used: 1-Slides of the material. 2-Google ! 3-Microsoft Visio 2007. 4-YouTube!