Professional Documents
Culture Documents
Atm Example Rambaugh
Atm Example Rambaugh
[Rumbaugh et al 1991]
2006 A.Borgida
UML -- 1
UML -- 2
2006 A.Borgida
UML -- 3
Methodology
Object modeling Interaction Diagrams for Use Cases State or Activity Diagrams
2006 A.Borgida
UML -- 4
Methodology
Object modeling
identify objs and classes: noun analysis + pruning prepare data dictionary identify associations,aggregations identify attributes of objects and associations organize & simplify using generalization/inheritance iterate
2006 A.Borgida
UML -- 5
UML -- 6
Bad classes
vague
security provision, system, recordkeeping provision,banking network attribute account data, receipt, cash, transaction data redundant user irrelevant cost implementation transaction log, access, software, communication line LEFT WITH account, atm, bank, bank computer, cash card, cashier, cashier station, central computer, consortium, customer, transaction
2006 A.Borgida
UML -- 7
2006 A.Borgida
UML -- 8
2006 A.Borgida
UML -- 9
2006 A.Borgida
UML -- 10
Methodology(2)
Dynamic modeling
prepare scenarios of typical interactions identify events (agent,...) describe interaction diagrams build state diagram for each object incoming arrow corresponds to event causing transition to this new state outgoing arrow corresponds to action being taken in this state life gets interesting when you (i) try to make the diagram nite by discovering loops, and (ii) merge multiple scenarios (if necessary, build activity diagrams to show coordinated actions)
2006 A.Borgida
UML -- 11
2006 A.Borgida
UML -- 12
2006 A.Borgida
UML -- 13
2006 A.Borgida
UML -- 14