|Previous||UML Classes||Table of Contents||UML Packages||Next|
State (from BehaviorStateMachines , ProtocolStateMachines ) on page 571
A special kind of state signifying that the enclosing region is completed. If the enclosing region is directly contained in
a state machine and all other regions in the state machine also are completed, then it means that the entire state machine
No additional attributes
No additional associations
 A final state cannot have any outgoing transitions.
self.outgoing->size() = 0
Issue 8402 -add OCL
 A final state cannot have regions.
 A final state cannot reference a submachine.
 A final state has no entry behavior.
 A final state has no exit behavior.
 A final state has no state (doActivity) behavior.
When the final state is entered, its containing region is completed, which means that it satisfies the completion condition.
The containing state for this region is considered completed when all contained regions are completed. If the region is contained
in a state machine and all other regions in the state machine also are completed, the entire state machine terminates, implying
the termination of the context object of the state machine.
A final state is shown as a circle surrounding a small solid filled circle (see Figure 15.11). The corresponding completion
transition on the enclosing state has as notation an unlabeled transition.
Figure 15.11 - Final State
Figure 15.33 on page 581 has an
example of a final state (the right most of the states within the composite state).