0% found this document useful (0 votes)
168 views17 pages

UML

Find CarModel NonMember: Ask to reserve CarModel

Uploaded by

putu_widya
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views17 pages

UML

Find CarModel NonMember: Ask to reserve CarModel

Uploaded by

putu_widya
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 17

UML icoot

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.

Case statement iCoot


The fictitious companys 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.

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.

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.

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.

System Use Case / ( Class Diagram in Analysis Level)

Communication/Collaboration Diagram

Deployment Diagram

Class Diagram (Design level)

Sequence Diagram

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.

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

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 NonMembers 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.

A communication diagram for B3:NonMember Reserves CarModel

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.

Activity Diagram

You might also like