## State Charts for Example ATM System

Three of the objects we have identified have behavior that is sufficiently complex to warrant developing a State Chart for them. (These are the objects that were identified as the major controller objects.)

- The object representing the machine itself (responsible for the System Startup and Shutdown use cases)
- Objects representing a customer session (one per session) (responsible for the Session use case)
- Objects representing an individual transaction (one per transaction) (responsible for the Transaction use case, use cases for the specific types of transaction, and Invalid PIN extension).

[ CRC Card for ATM ] [ Interaction diagram for Startup ] [ Interaction diagram for Shutdown ]

[ CRC Card for Session ] [ Interaction diagram for Session ]

[ CRC Card for Transaction ] [ Interaction diagram for Transaction ]
[ CRC Card for Withdrawal ] [ Interaction diagram for portion unique to Withdrawal ]
[ CRC Card for Deposit ] [ Interaction diagram for portion unique to Deposit ]
[ CRC Card for Transfer ] [ Interaction diagram for portion unique to Transfer ]
[ CRC Card for Inquiry ] [ Interaction diagram for portion unique to Inquiry ]
[ Interaction diagram for Invalid PIN Extension ]

Page of links for non frames-enabled browsers.

###### Copyright © 2000, 2001, 2002 - Russell C. Bjork. Permission for non-commercial reproduction for educational use is hereby granted; all other rights are reserved.