Wednesday, October 25, 2006

Class and communication diagrams











[Time: 7:07 mins]


We have identified classes, their responsibilities, and interactions among them as they enact use cases. Shown below is a class diagram and several communication diagrams that outlines important classes, their relationships, and collaborations among them. I have not shown all the classes, but only the ones that are important and have relationships with other classes. Classes that are not shown include:

  • Customer
  • StoreManager
  • UserTerminal
  • ControlPanel
  • CheckoutSystem

http://www.adaptivesoftware.biz/storage/images/supermarket_classes.gif  

 Figure 1

 

Communication Diagrams:

Customer determines the price of a group of items

http://www.adaptivesoftware.biz/storage/images/cust_queries_price.gif 

 Figure 2

 

Customer checks out items

http://www.adaptivesoftware.biz/storage/images/cust_checksout.gif

Figure 3 

 

Store Manager valuates in-shop inventory

http://www.adaptivesoftware.biz/storage/images/store_inventory_valuation.gif 

Figure 4 



Note: This post was originally posted on my blog at http://www.adaptivelearningonline.net

No comments: