Page 109 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 109

Unit 8: Advanced Interaction Modelling




          8.3.2  Nested Activity Diagram                                                        Notes

          An activity state may reference another activity diagram, which shows the internal structure of
          the activity state. Another way to say this is that you can have nested activity graphs.
          For example, you can either show the sub-graph inside of the activity state (Figure 8.8), or let the
          activity state refer to another diagram (Figure 8.9).

                      Figure 8.8: A Nested Activity Graph Shown Within an Activity State
























          Source: http://gyan.frcrce.ac.in/~surve/OOAD/UCD/UCD_Relationships.html
                   Figure 8.9: Alternative Activity  State  Referring to another Activity  Diagram























          Source:  http://gyan.frcrce.ac.in/~surve/OOAD/UCD/UCD_Relationships.html

          Self Assessment

          Fill in the blanks:

          14.  .................... conditions can be used to show that one of a set of concurrent threads is
               conditional.
          15.  .................... graphs shows the internal structure of the activity state.




                                           LOVELY PROFESSIONAL UNIVERSITY                                   103
   104   105   106   107   108   109   110   111   112   113   114