O'Reilly logo

Developing Applications with Java™ and UML by Paul R. Reed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The State Diagram

Of the UML diagrams, the state diagram has probably been around the longest. Its initial uses had nothing to do with object-oriented concepts. In the design and development of complex integrated circuits, a model was needed that minimized the complexity of the various states in which the system could exist at any specified moment in time. More importantly, the model needed to show the events to which the system responded when in a given state, and the type of work to be performed when the system changed states.

The state diagram can be a valuable tool. Today we use state diagrams to model the lifecycles of one class (although UML also supports the notion of sending events to other classes while modeling a class as to state). ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required