NonMember Reserves CarModel
NonMember asks to reserve CarModel
Assistant finds CarModel on Auk
Assistant asks for deposit from NonMember
Assistant asks for NonMember's license
Assistant checks license visually
License looks okay?
No
Yes
Assistant creates new Reservation on Auk
Assistant records license, phone, license scan on Auk
Assistant gives NonMember reservation slip
End
2. UML Diagrams
• Use case diagrams categorize the ways in which a system is used.
• Class diagrams show classes and how they can be fitted together (they can also show
objects).
• Object diagrams show only objects and how they can be fitted together.
• Activity diagrams show activity by humans or objects in a similar way to a flow chart.
• State machine diagrams show the various states of any object with an interesting or
complicated life cycle.
• Communication/Collaboration diagrams show the messages sent between objects in some
scenario.
• Sequence diagrams show similar information to communication diagrams, but emphasizing
sequences rather than connections.
• Package diagrams show how related classes are grouped together, for the benefit of
developers.
• Deployment diagrams show machines, processes and deployed artifacts for a finished
system.
• Component diagrams show reusable components (objects or subsystems) and their
interfaces.
• Interaction overview diagrams show individual steps of an activity using sequence diagrams.
• Timing diagrams show precise timing constraints for messages and object states.
• Composite structure diagrams show how objects fit together in an aggregation or
composition, showing interfaces and collaborating objects.
3. Case statement iCoot
• The fictitious company’s new system is referred to as Coot,
with the Internet facilities available to customers referred to
as iCoot.
• The unique selling point of Nowhere Cars is that they rent
specialist cars to wealthy enthusiasts for extended periods.
Since the supply of each kind of car is limited, customers must
turn up at a store when they actually want to rent. Cars are
rented on a first-come, first-served basis and customers can
take their pick from what is currently available. Alternatively,
customers who are keen to rent a model of car which is not
available can make a reservation. An assistant will contact the
customer directly when a matching car becomes available; the
customer must collect it within two days (or pay a levy for
depriving other customers of the car). As yet, there are no
home delivery or home pick-up services (partly for insurance
reasons). For members, who must register, reservations can
be made by telephone.
4. Use Case Icoot
an Assistant can make a reservation; a Customer
can look for car models; Members can log on;
users must be logged on before they can make
reservations; and so on.
5. Use Case Detail
U3: View Car Model Details. (Extends U2, extended by U7.)
Preconditions: None.
1. Customer selects one of the matching Car Models.
2. Customer requests details of the selected Car Model.
3. iCoot displays details of the selected Car Model
(make, engine size, price, description, advert and poster).
4. If Customer is a logged-on Member, extend with U7.
Postconditions: iCoot has displayed details of selected Car
Models.
NonFunctional Requirements:
r1. Adverts should be displayed using a streaming protocol
rather than requiring a download.
6. Icoot business actor list
• Assistant: An employee at one of our stores who helps Customers to rent
Cars and reserve Car Models.
• Customer: A person who pays us money in return for one of our standard
services.
• Member: A Customer whose identity and credit-worthiness have been
validated and who, therefore, has access to special services (such as
making Reservations by phone or over the Internet).
• NonMember: A Customer whose identity and credit-worthiness have not
been checked and who, therefore, must provide a deposit to make a
Reservation or surrender a copy of their license to rent a Car.
• Auk: The pre-existing system that handles Customer details, Reservations,
Rentals and the catalog of available Car Models.
• DebtDepartment: The department of Nowhere Cars that deals with
unpaid fees.
• LegalDepartment: The department of Nowhere Cars that deals with
accidents in which a rented Car has been involved.
12. Business Use Case
• B1:Customer Rents Car: Customer rents a Car that they have selected from
those available.
• B2:Member Reserves CarModel: Member asks to be notified when a
CarModel becomes available.
• B3:NonMember Reserves CarModel: NonMember pays a deposit to be
notified when a CarModel becomes available
• B4:Customer Cancels Reservation: Customer cancels an unconcluded
Reservation, by phone or in person.
• B5:Customer Returns Car: Customer returns a Car that they have rented.
• B6:Customer Told CarModel is Available: Customer is contacted by an
Assistant when a Car becomes available.
• B7:Car Reported Missing: Customer or Assistant discovers that a Car is
missing.
• B8:Customer Renews Reservation: Customer renews a Reservation that
has been outstanding for more than a week.
13. Business Use Case
• B9:Customer Accesses Catalog: Customers browse the catalog, in-store or
at home.
• B10: Customer Fined for Uncollected Reservation: Customer fails to collect
a Car that they have reserved.
• B11:Customer Collects Reserved Car: Customer collects a Car that they
have reserved.
• B12:Customer Becomes a Member: Customer provides CreditCard details
and proof of Address to become a Member.
• B13:Customer Notified Car is Overdue: Assistant contacts Customer to
warn them that a Car they have rented is more than a week overdue.
• B14:Customer Loses Keys: Replacement Keys are provided for a Customer
who has lost them.
• B15:MembershipCard is Renewed: Assistant contacts Member to renew
membership when their CreditCard has expired.
• B16:Car is Unreturnable: A Car is wrecked or breaks down
14. Business Use Case Detail
B3: NonMember Reserves CarModel.
1. NonMember tells Assistant which CarModel to reserve.
2. Assistant finds CarModel on Auk.
3. Assistant asks for a deposit for the Reservation.
4. Assistant asks for NonMember’s License and phone
number.
5. Assistant checks License visually.
6. If License looks okay, assistant creates new Reservation
and records License number, phone number and a scan of
the License in Auk.
7. Assistant gives NonMember a ReservationSlip containing
the unique reservation number.
16. A communication/collaboration for
B3:NonMember Reserves CarModel
• The NonMember asks the Assistant to reserve a
CarModel.
• The Assistant asks the AukInterface to find the
CarModel (this involves the CarModel object in some
unspecified way).
• The Assistant asks the NonMember for a deposit and a
License.
• The Assistant asks the AukInterface to create a
Reservation (this involves a Reservation object in some
way).
• The Assistant confirms the Reservation to the
NonMember.