Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Use role stereotype to help focus on object responsibilities Information holder

ID: 3832348 • Letter: U

Question

Use role stereotype to help focus on object responsibilities Information holder Structural Service provider Coordinator Controller Interfacer In each of the following examples, identify the stereotype (from list provided) associated with each domain object. (More than one option is possible but choose carefully). Bookshelf Shopping Cart Purchase Order Shipping Processsor Touch ID (e.g. on iPhone) ATM check scanner (when depositing checks) Store location finder Hotel reservation manager Contract finger print device (on notebooks to let you log in)

Explanation / Answer

Information holder-knows and provides information

Structural - maintains relationships between objects and information about those relationships

Service provider-performs work and in general offers computing services

Coordinator -Reacts to events by delegating tasks to others

Controller-makes decisions and closely directs other actions

Interfacer- transforms information and requests between distinct parts of our system

1)bookshelf - information holder

2)shopping cart-Information holder, Interfacer,structural

3)purchase order- structural,service provider,

4)shipping processor - coordinator,Interfacer

5)Touch - Interfacer,information holder,service provider

6)ATM check scanner- Interfacer, controller,information holder

7)store location finder-interface,service provider

8)Hotel reservation !manager-controller,coordinator,

9)contracts -structural,coordinator, controller

10)finger print device- interface,information holder,service provider