State Diagrams

Business process models do not lend themselves to implementation in an object-oriented way. If you go the UML way, you will break down the business process and express it in terms of states for each object involved in the process.

Let's take a short look at the States themselves. In the editors toolbar you find three different symbols:

The following state diagrams show a few examples of this.

Figure 9-12. State Diagram for Class Client.

Figure 9-13. State Diagram for Class CreditCard.

Figure 9-14. State Diagram for Class Account.

Figure 9-15. State Diagram for Class OrderController.

Diagram Elements

Toolbar

Select

Broom

State

Composite State

Concurrent State

Transition

Initial State

Final State

Choice

Junction

Fork

Join

Shallow History

Deep History

Synchronization State

Note

Rectangle

Rounded Rectangle

Circle

Line

Text

Polygon

Spline

Ink