Top Banner
Star Car Rental System USE CASE DIAGRAM
20

Jiaqi UML DIAGRAM

Jan 17, 2017

Download

Software

Jiaqi Xi
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Jiaqi UML DIAGRAM

Star Car Rental System

USE CASE DIAGRAM

Page 2: Jiaqi UML DIAGRAM

USE CASE UC1 View cars’ information

Goal in Context A customer wants to request detailed information about cars, such as

quotation, vehicle type, vehicle makes, and vehicle models.

Scope & Level Star Car Rental System, Secondary Task

Preconditions None

Postconditions The customer makes a decision about whether to rent cars or not.

Primary,

Secondary Actors

Customer, Staff : Primary

Trigger The customer calls Star Car Rental company or logs in the website of

Star Car Rental company.

DESCRIPTION Step Action

1 The customer calls Star Car Rental company to communicate

with the staff or logs in the website of Star Car Rental

company.

2 The customer asks staff car information by phone or searches

car information on the company’s website.

3 Staff tells the customer about details of cars by phone or

website presents the results (see OI 1).

4 The customer asks the quotation for the car by phone or

searches the quotation for the car on the internet.

5 Staff tells the quotation for the car by phone or website

presents the quotation (See OI 2).

6 The customer receives the results.

EXTENSIONS Step Branching Action

1a 1 Star Car Rental company does not answer the phone when

the customer calls the company.

1 The customer does not get information about renting

car.

2 The customer logs on the website to search the

information.

2 The customer cannot access to the internet.

1 The customer calls Star Car Rental company.

2 The customer cannot get information.

3a The customer is not satisfied with the car.

Process ends.

5a The customer is not satisfied with the quotation.

Process ends.

Page 3: Jiaqi UML DIAGRAM

OTHER

INFORMATION

1 The company rents cars on basis of car model and standard

rate (daily, weekly, weekend, additional kilometer charge).

The first 200km are included in charges for every vehicle. All

the cars are four door models with air conditioning and

automatic transmission. The categories are Economy(E),

Star(B), Midsize(M), Full Size(F), Passenger Van(V), SUV(S).

2 Rate Class Daily

Charge

Weekly

Charge

Weekend

Charge

Additional

Kilometre

Charge

Economy(E) $34.99 $149.99 $39.99 $0.20

Star(B) $39.99 $169.99 $44.99 $0.22

Midsize(M) $44.99 $189.99 $49.99 $0.25

Full Size(F) $49.99 $209.99 $54.99 $0.27

Passenger

Van(V)

$59.88 $212.99 $58.99 $0.29

SUV(S) $70.99 $220.99 $70.99 $0.35

REPORTS None

UNRESOLVED

ISSUES

None

Page 4: Jiaqi UML DIAGRAM

USE CASE UC2 Book cars

Goal in Context A customer wants to rent a car to drive.

Scope & Level Star Car Rental System, Primary Task

Preconditions The customer gains suitable car information and the quotation for the

car.

Postconditions The customer completes entering information.

Primary,

Secondary Actors

Staff, Customer : Primary

Bank, Insurance Company : Secondary

Trigger The customer gains satisfying information of the car.

DESCRIPTION Step Action

1 The customer gains satisfying information of the car.

2 System asks customer to supply credit card details.

3 The customer supplies credit card information.

4 The details are validated.

5 System mails or emails the confirmation of arrangement to the

customer.

6 The customer enters the personal information and payment

information.

7 The customer searches the vehicle types and prices for booking

(See OI 1).

8 The customer enters pick-up and drop-off location, dates and

their age.

9 The customer gets quote for renting a car.

10 The customer is given other important information as well as

insurance details and pick up instructions (See OI 2).

11 Manager views booking information.

EXTENSIONS Step Branching Action

3a The customer enters the wrong payment information.

1 The customer will be informed to re-enter the payment

information.

2 The customer cannot make a booking.

4a The customer’s credit card information cannot be validated by

bank.

1 System informs the customer.

2 Booking is not successful.

Page 5: Jiaqi UML DIAGRAM

OTHER

INFORMATION

1 Rate Class Daily

Charge

Weekly

Charge

Weekend

Charge

Additional

Kilometre

Charge

Economy(E) $34.99 $149.99 $39.99 $0.20

Star(B) $39.99 $169.99 $44.99 $0.22

Midsize(M) $44.99 $189.99 $49.99 $0.25

Full Size(F) $49.99 $209.99 $54.99 $0.27

Passenger

Van(V)

$59.88 $212.99 $58.99 $0.29

SUV(S) $70.99 $220.99 $70.99 $0.35

2 Customer is given other important information such as age

restrictions, fuel conditions.

REPORTS None

UNRESOLVED

ISSUES

None

Page 6: Jiaqi UML DIAGRAM

USE CASE UC3 Respond booking information

Goal in Context The system makes a confirmation for booking cars.

Scope & Level Star Car Rental System

Secondary Task

Preconditions A customer has already completed the booking process

Postconditions Staff confirms the booking information.

Actors Staff, Customer: Primary

Trigger The system checks the completeness and correctness of the customer’s

data entry.

DESCRIPTION Step Action

1 The system checks the completeness and correctness of the

customer’s personal information and payment information

(See OI 1).

2 The system confirms the booking with a rental confirmation

number.

3 System sends an e-mail to the customer.

4 The customer receives the e-mail with rental number.

5 The customer uses the rental number and last name to view the

booking information.

EXTENSIONS Step Branching Action

1a The customer’s personal information is not completed.

1 The booking is not successful.

2 The system will send an e-mail to customer.

1b The customer’s payment information is not corrected.

1 The booking is not successful.

2 The system will send an e-mail to customer.

5a The customer changes or cancels the car booking.

OTHER INFORMATION 1 Personal information includes name, address, telephone

number and e-mail address. Payment information is credit card

details.

Page 7: Jiaqi UML DIAGRAM

REPORTS None

UNRESOLVED ISSUES None

Page 8: Jiaqi UML DIAGRAM

USE CASE UC4 Pick up car

Goal in Context A customer drives the car away.

Scope & Level Star Car Rental System

Secondary Task

Preconditions A customer books the car successfully.

Postconditions A customer drives the car away.

Actors Customer, Staff: Primary

Trigger The customer arrives at the pick-up location.

DESCRIPTION Step Action

1 The customer arrives at the pick-up location.

2 The customer signs the rental agreement (see OI 1,2).

3 Staff confirms the rental agreement that the customer signs.

4 Staff gives the key of the car to the customer.

5 The customer drives the car away.

EXTENSIONS Step Branching Action

2a The customer renting the car is not the driver, and there are

many drivers.

For each driver, the following information needs to be

captured: full name, birth date, driver’s license number and

state of issue of driver’s license.

2b 1 The customer accepts damage waiver which is $8.99 per

day.

There is no charge for physical damage to the vehicle.

2 The customer does not accept damage waiver.

The customer needs to pay a $1000.00 deductible applies to

body damage.

OTHER

INFORMATION

1 A rental agreement includes an agreement number, the

customer’s name, type of rate, car identification, car price

category, the date time mileage, expected date and time of

return and damage waiver.

2 Information about the third party who may be paying the bill

also needs to be captured.

REPORTS None

UNRESOLVED

ISSUES

None

Page 9: Jiaqi UML DIAGRAM

USE CASE UC5 Return cars

Goal in Context A customer returns the car to the company.

Scope & Level Star Car Rental System, Primary Task.

Preconditions The customer does not need to use the car any longer.

Postconditions The company receives the car, and the car is ready to be rented again.

Actors Staff ,Customer : Primary

Trigger The customer arrives at the drop-off location.

DESCRIPTION Step Action

1 The customer arrives at the drop-off location.

2 Staff inspects the car’s tank.

3 Staff records the date, time and mileage.

4 Staff inspects for damage.

5 Staff inspects to determine the need of minor maintenance.

6 The car passes inspection.

7 The car sent to a car wash and placed to be rent again.

EXTENSIONS Step Branching Action

2a The tank is not full.

1 The customer refuels the vehicle.

2 Staff refuels the vehicle and the customer pays for it.

3a The customer return car late and pays fines (UC6).

4a The car has been damaged.

1 The customer pays the cost for repairing.

2 There is no charge for physical damage.

5a The car needs minor maintenance.

The car is sent to the shop for needed repairs and

maintenance.

OTHER

INFORMATION

None

REPORTS None

Page 10: Jiaqi UML DIAGRAM

UNRESOLVED

ISSUES

None

Page 11: Jiaqi UML DIAGRAM

USE CASE UC6 Make payment

Goal in Context Star Car Rental company makes profits.

Scope & Level Start Car Rental System, Primary Task.

Preconditions A customer has returned cars.

Postconditions The customer pays the total charge to the company.

Actors Customer, Staff : Primary

Bank : Secondary

Trigger The customer has returned the car.

DESCRIPTION Step Action

1 The customer has returned the car.

2 The company calculates the total charge (OI1, OI3).

3 The company mails the bill to the customer.

4 The customer receives the bill.

5 The customer pays the total charge by cash or credit card.

6 The company receives the money.

EXTENSIONS Step Branching Action

2a The customer accepts the collision damage waiver.

2b The customer pays a $1000.00 deposit to body damage.

1 The car has been damaged. The deposit is used to pay for

repairing.

2 The car has not been damaged. The deposit is returned to

the customer.

3a The company gives the bill to customer.

4a The customer has fines outstanding:

1 The customer pays fines for returning late.

2 The customer pays charge for repairing if he/she did not

receive the collision damage waiver (OI2).

4b The car has not been damaged.

The customer receives the $1000.00 deposit.

5a 1 The company receives the cash from the customer.

2 The company receives the money transferred from bank.

OTHER

INFORMATION

1 The damage waiver is $8.99 per day.

2 The customer declines the damage waiver. An insurance

policy with a $1000.00 deductible applies to body damage.

This deposit is collected at time of rental.

Page 12: Jiaqi UML DIAGRAM

One Class Diagram And Six Sequence Diagrams

---Car Renting System

Jiaqi Xi

REPORTS None

UNRESOLVED

ISSUES

None

Page 13: Jiaqi UML DIAGRAM

Class Diagram

Page 14: Jiaqi UML DIAGRAM
Page 15: Jiaqi UML DIAGRAM
Page 16: Jiaqi UML DIAGRAM
Page 17: Jiaqi UML DIAGRAM
Page 18: Jiaqi UML DIAGRAM
Page 19: Jiaqi UML DIAGRAM
Page 20: Jiaqi UML DIAGRAM