Project Rental
Project Rental
Table of contents
Contents
Project Description (Tailoring Rental System).......................................................................................3
Translate the events into use cases.......................................................................................................3
Generate the initial use case diagram...................................................................................................4
Find initial Problem domain classes.......................................................................................................5
Document first cut scenarios for the RENT use case with their corresponding sequence diagrams.....5
Refine the classes into generalization/specialization hierarchies..........................................................6
Identify any special classes....................................................................................................................6
Identify multiple inheritances and create a solution for it.....................................................................7
Identify whole–part hierarchies............................................................................................................7
Identify attributes and custom methods...............................................................................................7
Identify additional relationships............................................................................................................8
Update class diagram to include initial attributes, custom methods and association relationship.......8
Document second cut scenarios for the RENT use case with their corresponding sequence diagrams.
...............................................................................................................................................................9
Identify time-dependent behaviours. Represent these behaviours on a state chart diagram..............9
Project Description (Tailoring Rental System)
In this project, we have discussed the different rental situations for user and admin. By considering
all the situations we create use case diagram, use case description, hierarchy diagram, sequence
diagram, state chart diagram and identify all the entities and attributes. We have used the Creately
Visiual workspace for the diagrams.
In this event we have to identify all the users, primary Actor, Secondary Actor,
Condition, Scenario, Trigger, Extensions.
Main Success Scenario 1. Customer should fill all the fields of the
form.
2. Late fine will be charged to the
customer.
3. Customer would get all the items.
Document first cut scenarios for the RENT use case with their
corresponding sequence diagrams
This sequence diagram shows the customer scenario for booking the item. Firstly
admin will login the page and then manage and view the booking for the item. After
that they will check the feedbacks of the item. If there is a need of add item then it
will update and logout the page.
Figure 4: Generalization
The Special Class in the diagram is Feedback Class. This is used in order to improve
the customer experience. Whatever shortcoming suggested by the customer are
likely to be improved by the customer.
The feedback Class has the following attributes:-
F_id (PK), F_Name, Email, Address, Postal_Code, Phone_No, Service, Opinion
In this Diagram we are showing the whole part hierarchies with all the class and their
structure.
User Master
Admin
In this Diagram we have updated the Feedback and item class as a Virtual so that the
only one copy of data and functions will be copied.
Figure 7: Update class diagram
Document second cut scenarios for the RENT use case with their
corresponding sequence diagrams.
This Diagram shows the Sequence Diagram for users .
In our project the admin have decided to give the rent items for a specific time.
Some for 2 week maximum and other for 3 to 6 months. If the customer will not
return the item within the time period then the customer would pay $20.00 a day.
So customer must return items within the time period. The state chart diagram for
this is
State 1
Customer
Register
Booked Time/Granted
State 2
Taken Item
State 5
State 3
On time
Impose time
State 4
Finalised