Page 111 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 111

Unit 8: Advanced Interaction Modelling




                                                                                                Notes
             And similarly, “Record Greeting” use case uses the discrete process - play greeting.
             Our final list of use cases for Answering System will be:
                 Review Caller Messages
                 Answer Caller

                 Set Answer Mode
                 Record Greetings
                 Delete Caller Message
                 Play Greeting

                 Take Caller Message
            If you are analyzing a sentence in English, the subject in the sentence can be identified as
            a potential actor and the verb part of the sentence can be potential use case. Remember,
            this may or may not apply to the problem in hand, but is a good starting point for use case
            modeling.

                         Figure 1: The Use Case Diagram for the Answering System































             A sample use case description is given in Table 1.

                         Table 1: Use Case Description for Use Case Answer Caller
             Use Case ID    #CRCEAS-UC1
             Use Case Type   Concrete
             Use Case Name   Answer Caller
             Basic Course   Actors: Caller
                            Preconditions: Answering machine is idle
                            Primary Path:
                            •   The caller rings the phone line connected to the answering machine.

                                                                                 Contd...



                                           LOVELY PROFESSIONAL UNIVERSITY                                   105
   106   107   108   109   110   111   112   113   114   115   116