For automation interface information about an Atomic State, see
State (automation interface). For automation interface purposes, an Atomic State is a State that has its UML State Type set to Atomic.
An Atomic State is a state that does not have substates.
Create an Atomic State through a Modeler explorer pane or a State Diagram:
• In a Modeler pane, right-click a State Machine or Sequential State, point to New, and then click Atomic State.
• On a State Diagram, click the toolbar button, and then click the diagram background (within the frame) or within a Sequential State.
On an Atomic State you can create doActivities that are continuous performed by the Atomic State. A doActivity terminates when the Atomic State is complete, or when the Atomic State is exited. A doActivity can be an Activity, Operation or State Machine. Note that you remove doActivities through the items tab of the Atomic State's Property Pages.
You can create a State Diagram for an Atomic State,
When used on a State Diagram, an Atomic State's notation is as follows.
The View Options on a State Diagram allow you to show or hide the Name, Event Action Blocks, Do Activities and Compartment Names. By default, all the preceding properties are shown. The view options are set through the Composite State entry. For more information, see
Composite state view options - state diagram
On a State Diagram, you can populate Atomic States: right-click the State Machine (frame) or Sequential State that owns the Atomic States, point to Populate, and then click Normal States. Note that all owned Atomic, Concurrent, Sequential and Submachine States are added to the diagram.
You can change an Atomic State into a Concurrent State or Sequential State: On the Atomic State's Property Pages, click the State Type tab, and then select the required type. If the Atomic State owns a State Diagram, you are prompted to confirm that Modeler can delete that State Diagram.
You can change an Atomic State that owns a State Diagram into a Submachine State that references a State Machine that owns the State Diagram: Right-click the Atomic State, and then click Convert Submachine State. For example:
In the Dictionary pane, Atomic States are listed in the UML\States folder.
In the Modeler panes, a short-cut symbol on the Atomic State's icon indicates that the item is a stub. For more information, see
Stubs.
The following sections provide information about how an Atomic State is used in the model.
Properties
In addition to the
standard properties, an Atomic State has these properties:
• State Type (UML State Type through the automation interface)
Dependency - The Dependency is owned jointly by the Atomic State and the other associated item. The access permissions you have to a Dependency are determined by the access permissions of the dependent item.
Transition - The Transition is owned jointly by the Atomic State and the other associated item. The access permissions you have to a Transition are determined by the access permissions of the source item.