Skip to Content
UML Distilled: A Brief Guide to the Standard Object Modeling Language, Third Edition
book

UML Distilled: A Brief Guide to the Standard Object Modeling Language, Third Edition

by Martin Fowler
September 2003
Intermediate to advanced
208 pages
4h 15m
English
Addison-Wesley Professional
Content preview from UML Distilled: A Brief Guide to the Standard Object Modeling Language, Third Edition

Chapter 10. State Machine Diagrams

State machine diagrams are a familiar technique to describe the behavior of a system. Various forms of state diagrams have been around since the 1960s and the earliest object-oriented techniques adopted them to show behavior. In object-oriented approaches, you draw a state machine diagram for a single class to show the lifetime behavior of a single object.

Whenever people write about state machines, the examples are inevitably cruise controls or vending machines. As I’m a little bored with them, I decided to use a controller for a secret panel in a Gothic castle. In this castle, I want to keep my valuables in a safe that’s hard to find. So to reveal the lock to the safe, I have to remove a strategic candle from ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition

Craig Larman
Systems Analysis and Design with UML, 4th Edition

Systems Analysis and Design with UML, 4th Edition

Alan Dennis, Barbara Haley Wixom, David Tegarden
Design Patterns: Elements of Reusable Object-Oriented Software

Design Patterns: Elements of Reusable Object-Oriented Software

Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides

Publisher Resources

ISBN: 0321193687Purchase book