|Due at Thursday, January 7th, 11:00 am (before the lecture starts)|
Develop our Hotel Management System following the aspect-oriented approach presented in today's lecture. You are free to reuse any model that was present in the lecture or that you (not other groups) created during any of the previous assignments. We want to see models as well as code. Your solution doesn't need to be a complete Hotel Management System, but the model you are suggesting should be sound and your code should be doing his job.
Your solution has to contain:
|1 + 2 + 1 + 1 + 3 = 8 points|
SimpleMobilePhonebook is a small application running on mobile devices. A user can edit the details of his contacts. A contact has a name, a phone number and an address. For every contact there can be a voice file recorded as an alternative mean to identify the contact. A user can make a call by entering the name of a contact or by voice lookup. To call a contact identified by voice file, he presses a special button on the screen; the device records his voice and compares it to the voice files for the contacts. If none of the voice files matches with a high enough score a list with the best matches will be presented from which the user can select the contact. After successful selection of a contact the call is initiated.
Study the Use Case Diagram thoroughly.
a) Draw a class diagram showing the Domain Object Model (= the entities). It’s quite simple.
b) Based on your Domain Object Model and the Use Case Diagram create an Analysis Object Model using the «boundary», «controller», «entity» stereotypes.
c) Which of the elements (including all three stereotypes) in your Analysis Object Model realize the following use cases?
d) In which sense it there “scattering” or “tangling” in your model?
e) Draw a version of the Analysis Object Model separated into Use Case Specific Slices. Either use a graphic program and edit the picture below or bring a print out to the presentation.