Home | Projects | Notes > Embedded Systems Design using UML State Machines > State

State

 

What is a State?

 

How to Identify States?

 

How to Create a State?

  1. Draw a round-conrnered rectangle

  2. Create a horizontal name compartment

  3. Give a name that is unique within the state machine diagram

 

Types of States in UML

Simple State

 

simple-state-with-name-compartment

 

Composite State

 

composite-state-1

 

 

composite-state-simple

 

Submachine State

 

Pseudo States

See [OMG® UML 2.5.1] for the complete list of pseudo states.

 

Compartments of a State

 

compartments-of-a-state

 

Name Compartment

Internal Activity Compartment

 

internal-activity-compartment

 

 

Notes

 

transitions-tips