Login | Register
My pages Projects Community openCollabNet

20.13. Final State

If a transition reaches a final state, it implies completion of the activity associated with that composite state, or at the top level, of the complete state machine. In the UML metamodel FinalState is a child of State.

[Note]Note

A final state is a true state (with all its attributes), not a pseudostate.

Completion at the top level implies termination (i.e. destruction) of the owning object instance.

The representation of a final state on the diagram is a circle with a small disc at its center.

20.13.1. Final State Details Tabs

The details tabs that are active for final states are as follows.

ToDoItem

Standard tab.

Properties

See Section 20.13.2, “Final State Property Toolbar” and Section 20.13.3, “Property Fields For Final State” below.

Documentation

Standard tab.

Presentation

Standard tab.

Stereotype

Standard tab, containing the stereotypes of the final state. In the UML metamodel, a Final State has the no standard tagged values defined.

Tagged Values

Standard tab. In the UML metamodel, Final State has no standard tagged values defined.

20.13.2. Final State Property Toolbar

Go up

Navigate up through the package structure.

New Stereotype

This creates a new Stereotype (see Section 16.6, “Stereotype”) for the selected state, navigating immediately to the properties tab for that stereotype.

Delete from Model

This deletes the final state from the model

[Warning]Warning

This is a deletion from the model not just the diagram.

20.13.3. Property Fields For Final State

Name

Text box. The name of the final state. By convention final state names start with a lower case letter and use bumpy caps to divide words within the name.

[Note]Note

ArgoUML does not enforce this naming convention.

[Tip]Tip

Final state names are shown on the diagram but it is not usually necessary to give them a name.

Container

Text box. Shows the container of the final state. This is the state hierarchy.

Button 1 double click on the entry will navigate to the composite state that contains this state (or the top-level state that is the root of the state containment hierarchy).

Entry-Action

Text box. Shows the name of the action (if any) to be executed on entry to this final state.

Button 1 double-click navigates to the selected entry, button 2 gives a pop up menu with two entries:

  • New. Add a new Entry action of a certain kind. This menu has the following 7 submenus to select the kind of action: Call Action, Create Action, Destroy Action, Return Action, Send Action, Terminate Action, Uninterpreted Action.

  • Delete From Model. Delete the Entry-Action.

Incoming

Text area. Lists any incoming transitions for the final state.

Button 1 double-click navigates to the selected transition.

Internal Transitions

Text area. Lists all the internal transitions of the state. Such transitions neither exit nor enter the state, so they do not cause a state change. Which means that the Entry and Exit actions are not invoked.

Button 1 double-click navigates to the selected transition