Chapter 12. Using Lifecycles

The previous chapters described the mechanics of state machines in terms of statechart diagrams and state transition tables.

This chapter presents some suggestions and techniques for how to go about formulating these models effectively. Here we describe a set of techniques for forming individual lifecycles and refactoring them so they are each simple to understand.

Refactoring statechart diagrams, as well as simply understanding them better, can lead to a need to iterate the class diagram, creating classes for special purposes and to house various kinds of behavior.

Get Executable UML: A Foundation for Model-Driven Architecture 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.