Page 106 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 106

Object Oriented Analysis and Design




                    Notes          6.  The system boundary is potentially the entire system as defined in the ................... document.
                                   7.  In a use case diagram, generalization is shown as a directed arrow with a ...................
                                       arrowhead.

                                   8.  The parent use case in an extend relationship can’t be replaced by the ................... use case.

                                   8.2 Procedural Sequence Models

                                   In the previous unit, we saw sequence diagrams comprising independent objects all of which are
                                   active at the same time. An object remains active after sending a message and can reply to other
                                   messages without waiting for a response. This is suitable for high level models.



                                     Did u know? Many of the implementations are procedural and restrict the number of
                                     objects that can execute at a time.

                                   8.2.1  Sequence Diagrams with Passive Objects


                                   Most objects are passive and do not have their own threads of control. Activation shows the time
                                   period during which a call of a method is being processed, including the time when the called
                                   method has invoked another operation.



                                          Example: Figure 8.5 calculates the commission for the stock-brokerage transaction. The
                                   object of transaction obtains a request to calculate its commission. It receives the customer’s
                                   service level from the customer table. Then it asks the rate table to calculate commission according
                                   to the service level, after which the commission value is returned to the caller.
                                                     Figure 8.5: Sequence Diagram with Passive Objects
































                                   Source:http://elearning.vtu.ac.in/13/ENotes/OOAD/Object %20Oriented%20Modeling%20and
                                   %20Design%20Patterns-%20Lecture%20%20%20Notes-Dr.pdf



          100                               LOVELY PROFESSIONAL UNIVERSITY
   101   102   103   104   105   106   107   108   109   110   111