Sequence diagrams show the flow of messages from one object to another and as

Sequence diagrams show the flow of messages from one

This preview shows page 23 - 33 out of 33 pages.

Use Case 'scenario' or events. Sequence diagrams show the flow of messages from one object to another, and as such correspond to the methods and events supported by an object. 7.1.1 Member Registration Figure 7.1: Register as member 7.1.2 Reservation of Car
Image of page 23
Customer: Database:"db 001" System:"sys 01" Feedback page:i001 Accept feedback Send confirmation Enter details Enter feedback message Confirm and submit Add to database Figure 7.2: Make reservation 7.1.3 Customer Feedback Figure 7.3: Give feedback 7.1.4 Adding a New Car
Image of page 24
staff: zaid Control:Admin Handler Database:"db 01" New Car page: P001 Pass to control Login Close session Pass to control Log out Add to database Confirm and submit Enter new car details provide admin page Check validity Control:Feed Handler Database:"db 01" Staff: zaid Interface:i001 End session Get staff info Display feedback Log out Check validity Respond to feedback Select feedback Login Fi gure 7.4: Add new car 7.1.5 Feedback Response Figure 7.5: Respond to feedback
Image of page 25
Staff: Zaid Customer: Database:"db 01" Interface:i001 Confirm if overdue Update database Process rental Check rental details Provide member id Report Control: c008 Admin: Amarneh Database:"db 01" Report page: P002 End session Log out Check validity Retrieve report Specify report Login 7.1.6 Return Car and Check Rental Details Figure 7.6: Return car 7.1.7 View Report Figure 7.7: View report
Image of page 26
Customer - userId : string - custName : string - cusAddr : string - mobile : int - email : string register () login () reservation () Reservation - rid : int - pickdate : date - returndate : date - pickloc : string - VehicleClass : string reserve () search() Report - id : int - date : date - title : string generate () print () save () Staff - sid : char - sname : string - position : string - mobile : int addcar () modifyInfo () Car - PlateNo : string - CarName : string - carType : string - rent : double add () modify () reserve () Payment - id : int - amount : double - custName : string pay () confirm () Feedback - id : int - custName : string - custEmail : string send () respond () Distance chart - source : string - destination : 1 get () provide () Admin - Id : string - name : string add () modify () view () Late return - lateCharge : double pay () confirm () Return - id : int - retdate : date update () Early return confirm () Automation - name : string get () provide () alert () notify () notify makes 1..* 1..* makes 1..* 1..* makes 1..* 1..* rent 1 1 process 1 1..* add 1 1..* View 1 1..* add 1 1..* respond to 1 1..* gives 1..* 1..* alert 1 1..* notify 1 1..* provides 1 1..* CHAPTER 8 CLASS DIAGRAM 8.1 Class Diagram The class diagram is the main building block, a number of classes are identified and grouped together in a class diagram which helps to determine the statically relations between those objects. Figure 8.1 Class Diagram of Online Car Rental System
Image of page 27
Image of page 28
Image of page 29
Image of page 30
Image of page 31
Image of page 32
Image of page 33

You've reached the end of your free preview.

Want to read all 33 pages?

  • Summer '17
  • mr khalid

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors