Home

Use case example UML 2

E-mail Print
Share/Save/Bookmark
Draw an use case diagram for the following problem:
Company has several holiday homes in their possession and it rents them to employees. Company wants an information system that would allow room reservation on the net.

Employee will be able to reserve a room in desired holiday home for himself and his family members. Besides he can review his reservations and be able to cancel them.

Holiday home manager will be able to do same things as employee - manager will be able to add new reservation (ie. for people that doesn't have access to the net and would like to reserve by phone), review reservations and cancel any reservation. Manager will also be able to edit info about particular holiday home.

Administrator will have the same access as the manager and he is responsible to add and edit ciphers.
Everyone must log into the system before they can use it.
At first we have to identify all actors. In this case I think they are self revealing :
  • Employee
  • Manager
  • Administrator
Then we should identify what will they do.
  • reserve a room
  • review reservation status
  • cancel reservation
  • edit holiday home data
  • edit ciphers
  • login
Now we just have to link this together. We use generalization between actors as manager has the same use cases as employee and administrator has the same as manager plus he can edit ciphers.
Use case example
Hits: 32320
Comments (13)Add Comment
October 25, 2008     
thanks!
This brief article clarified a lot. Thanks!

John
John | 193.77.156.218
November 13, 2008     
...
Thanx friend...it was crystal clear.
got confidence
sajjad | 220.227.149.171
December 20, 2008     
Student
Thank you. I understood it easily than in books.
Davneet | 124.253.133.170
January 06, 2009     
please help me
hi i need a sample of use case and diagrams for my research and my universtity tasks
please help me i didnt find any good complete sample:(
contact me:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
beheshteh | 80.191.128.185
January 07, 2009     
Login is not a top-level use case
Good start! You can probably take this further. However, there is what I believe a small error.

'Login' is only a part of other top-level use cases you have just mentioned. Login, in itself is not a use case in the same category as reserve a room. Look up the section on How do you know what to put in the System box here http://www.andrew.cmu.edu/cour....html]here for details.

And don't forget to logout ;)

HTH
Suman Kar | 203.122.11.131
January 07, 2009     
it is OK
Login is positioned where it should be :) This use case includes logout part as well.
miha | 193.77.156.218
February 16, 2009     
use case diagram saple
thanks....!! your sample use case diagram help alot to me thanks again...
francis | 125.60.235.200
February 22, 2009     
...
Excellent! Very informative! Thank you!
Mark | 75.75.147.61
March 18, 2009     
...
Nice easy to understand, consise example. I would like to see examples where there is an EXTEND and an INCLUDE.
Alan Sarbin | 24.250.219.6
September 23, 2009     
...
Thanks. This was helpful - simple, concise, clearand clear. Good job!
uD | 76.247.209.68
November 04, 2009     
Help
plz send me state dig. example for xerox Machione & T.V & use case description also
priya | 121.246.206.135
December 21, 2009     
BA
Can you please show me a sample of project management phase use cases.
Can you also explain me the difference between and

ta
vs | 41.121.3.32
December 22, 2009     
project management?
What sample of project management phase do you need? Explain :)
Miha Trtnik | 193.77.156.218

Write comment

busy
Last Updated ( Friday, 24 October 2008 20:38 )  

Sponsored Links

My friends

Bookingpoint
partner websites

Donate

Do you find content useful? Please donate so I can cover my hosting expenses! Thanks!