Talk:Are you gonna eat that
I don't have time right now to add the diagram, but there is one thing in particular that was missing from the examples put up in class. There should be some way to differentiate between devices that have a camera and devices that don't. Some PDAs and cellphones do not have a camera, so I assume that the barcode numbers would have to be manually entered. Maybe there should be a class called PortableDevice, which has two subclasses: CameraDevice and NonCameraDevice. The CameraDevice has the OBCR, and the NonCameraDevice has some way of manually entering the barcode. --Elliot Fisher 04:24, 6 August 2008 (UTC)
I think that may have been a problem with the naming of our classes the Moderator class could probably be abstract and better named to allow the different strategies to be used in different phones and the View class could also be abstract and better named to allow for the different display properties of the different devices. Jason Clutterbuck 05:47, 6 August 2008 (UTC)
I just added an UML-Diagram. That's mine and Elliot refined first try from yesterdays class --Dom 01:10, 7 August 2008 (UTC)
Where would the amount of each ingredient in a FoodProduct go? We won't be able to check against the allergen threshold without it. Also, which ingredient or ingredients from the list of ingredients in Allergen does the threshold refer to? --Kris 11:08, 7 August 2008 (UTC)
Added Jason & TK's attempt. Hmmm... there are a couple attributes I forgot to add. Will fix. --TK 11:17, 7 August 2008 (UTC)