Page 74 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 74
Object Oriented Analysis and Design
Notes
!
Caution The notation in the above version indicates that the details of the Check PIN
sub-machine are shown in a separate diagram.
Example: The alternative way to show the same information is shown in Figure 6.8.
Figure 6.8: Alternate Way of showing Compound States
Source: http://www.ddegjust.ac.in/studymaterial/mca-5/mca-503.pdf
Entry Point: Sometimes you won’t want to enter a submachine at the normal initial state.
Example: In the submachine shown in Figure 6.9, it would be normal to begin in the
“Initializing” state, but if for some reason it wasn’t necessary to perform the initialization, it
would be possible to begin in the “Ready” state by transitioning to the named entry point.
Figure 6.9: Entry Point Example
Source: http://www.ddegjust.ac.in/studymaterial/mca-5/mca-503.pdf
68 LOVELY PROFESSIONAL UNIVERSITY