Self-Transition Relationships

You can add a self-transition relationship to a state or activity in a diagram. A self-transition relationship indicates that the active state does not change to another state or activity when an object in the source state receives a specified event, performs a specific action, or meets a certain condition. Self-transition relationships are used on activity and statechart diagrams.

Note   Transitions and self-transitions relationships are semantically the same. A transition changes the active state from the source shape to the target shape, whereas a self-transition has the same source and target shape.

For example, you could model a self-transition relationship on a state named "Dialing." Each time a digit is pressed, the self-transition relationship indicates that the "Dialing" state remains as the active state. When the full amount of digits are entered, an event causes the transition to move to the "ringing" state.


Self-Transition Relationship


Naming Conventions

Self-transition relationships usually do not have names. If you name a self-transition relationship, the name is displayed next to the connector on the diagram.


Related Topics



Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23
Link to this page: //www.vb-net.com/dotnet/relation/SelfTransition.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>