SElec-5 DomainModel (1)

SElec-5 DomainModel (1) - LECTURE 5 Domain Modeling Ivan...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Ivan Marsic Rutgers University LECTURE 5: Domain Modeling
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Topics Identifying Concepts Concept Associations Concept Attributes Contracts: Preconditions and Postconditions
Image of page 2
Use Cases vs. Domain Model (b) (a) In use case analysis , we consider the system as a “ black box Actor System Actors Use Case 1 Use Case 2 Use Case N Actor Actors Domain Model In domain analysis , we consider the system as a “ transparent box
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Example: ATM Machine (b) (a) 1 2 3 4 5 6 7 8 9 0 Actor (Bank customer) System Actor (Remote datacenter) (ATM machine) Concept 2 Concept 1 Actor Concept 3 Concept n Domain Model Actor
Image of page 4
Building a Domain Model Step 1: Identifying the boundary concepts Step 2: Identifying the internal concepts Actor A Actor B Actor D Actor C Boundary concepts Concept 2 Concept 3 Concept 4 Concept 1 Actor A Actor B Actor C Actor D Concept 1 Concept 2 Internal concepts Concept 3 Concept 5 Concept 4 Concept 6
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Use Case 1: Unlock Use Case UC-1: Unlock Re late d Re q uire m e nts : REQ 1, REQ 3, REQ 4, and REQ 5 s tate d in Table  2-1 Initiating  Ac to r: Any o f: Te nant, Landlo rd Ac to r’s  G o al: To  dis arm  the  lo c k and e nte r, and g e t s pac e  lig hte d up auto m atic ally. Partic ipating  Ac to rs : Lo c kDe vic e , Lig htS witc h, Tim e r Pre c o nditio ns :  The  s e t o f valid ke ys  s to re d in the  s ys te m  databas e  is  no n-e m pty.   The   s ys te m   dis plays   the   m e nu  o f  available   func tio ns ;  at  the   do or  ke ypad  the   m e nu  c ho ic e s  are  “Lo c k” and “Unlo c k.” Po s tc o nditio ns : The  auto -lo c k tim e r has  s tarte d c o untdo wn fro m  auto Lo c kInte rval. Flo w o f Eve nts  fo r Main S uc c e s s  S c e nario : 1. Te nant/Landlo rd arrive s  at the  do o r and s e le c ts  the  m e nu ite m  “Unlo c k” 2. inc lude :: AuthenticateUser  (UC-7) System (a) signals to the Tenant/Landlord the lock status, e.g., “disarmed,” (b) signals to LockDevice to disarm the lock, and (c) 
Image of page 6
Extracting the Responsibilities Responsibility Description Type Concept Name Coordinate actions of all concepts associated with a use case, a logical grouping of use cases, or the entire system and delegate the work to other concepts. D Controller Container for user’s authentication data, such as pass-code, timestamp, door identification, etc. K Key Verify whether or not the key-code entered by the user is valid. D KeyChecker C
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Domain Model (1) «entity» KeyChecker «control» Controller «entity» Key «entity» KeyStorage Symbolizes worker ”-type concept.
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

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