Hmmm, here goes..
QUOTE
The Noun Analysis Method
I used the Noun Analysis method to create the different classes within the class diagram. Firstly, I looked at each noun (naming word) within the Assignment Description, and then decided whether or not it would be a good choice to make it a class. The classes I decided upon for the class diagram are as such:
• Customer
• Store
• Item
• Cashier
• Cash Register
• POS System
• Management
• Cash Drawer
• Cash
• Cheque
• Credit Card
• Sale
The Store is an important class as it is the focus of the whole diagram, stores need customers, so adding the Customer class is inevitably important. The store needs employees such Management and Cashiers so they have to have their own classes as well. The Cash Register and Cash Drawer are also important for the Sale of Items (both their own classes), which need to be paid for by the Customer class. Tying all of these together is the POS system which takes the records of sales, tracks employee work time and allows management to track how the cashiers are working.
It is possible to create a SuperClass for one or more of the above classes. I have chosen to make a superclass for the payment methods, Cheque, Cash and Credit Card as they are all payment methods but do have their own attributes etc.
Ahhhh, wow that's kinda boring. The first page of my software engineering assignment. *Sigh* I should really be cracking on with that. Bloody distracting internet.