Page 75 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 75

Unit 6: State Modelling




          Exit Point: In a similar manner to entry points, it is possible to have named alternative exit  Notes
          points.


                 Example: In Figure 6.10 gives an example where the state executed after the main
          processing state depends on which route is used to transition out of the state.

                                    Figure 6.10: Exit Point Example



















          Source: http://www.ddegjust.ac.in/studymaterial/mca-5/mca-503.pdf




              Task       Compare and contrast entry point and exit point.

          Choice Pseudo-State: A choice pseudo-state is shown as a diamond with one transition arrives
          and two or more transitions leaving.


                 Example: In Figure 6.11 shows that whichever state is arrived at, after the choice pseudo-
          state, is dependent on the message format selected during execution of the previous state.

                                    Figure 6.11:  Choice Pseudo-state


























          Source:  http://www.ddegjust.ac.in/studymaterial/mca-5/mca-503.pdf




                                           LOVELY PROFESSIONAL UNIVERSITY                                   69
   70   71   72   73   74   75   76   77   78   79   80