Chapter 18

Behavior

State Machine Diagrams

Abstract

In this chapter, we finish our coverage of UML 2.5 behavioral modeling by concentrating on State Machine Diagrams. The State Machine Diagrams within UML 2.5 focus on states, events, and the triggered transitions between states.

These State Machine Diagrams have also been called State Charts or State Diagrams. The Diagrams cover the potential entire lifecycle of a single entity, usually an object or behavior (such as a Use Case) as it evolves over time. A State Machine Diagram considers all of the possible states and paths that an instance can be in after the instance was first created. The State Machine Diagram only works for modeling discrete event-driven behavior using a finite state machine ...

Get OCUP 2 Certification Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.