1 / 8

Cupboards XP

Cupboards XP. Design Overview Group 3. Entity Classes. Recipe Composition – Ingredient Class Ingredient Stores all ingredients in Ounces. Refrigerator Add, remove, edit ingredients in refrigerator or cupboard Singleton pattern used Aggregation – Ingredient Class. Entity Classes.

Download Presentation

Cupboards XP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cupboards XP Design Overview Group 3

  2. Entity Classes • Recipe • Composition – Ingredient Class • Ingredient • Stores all ingredients in Ounces. • Refrigerator • Add, remove, edit ingredients in refrigerator or cupboard • Singleton pattern used • Aggregation – Ingredient Class

  3. Entity Classes • ManageRecipes • Add, remove, edit recipes • Singleton Pattern used • Aggregation – Recipe Class • GroceryList • Editable list of ingredients to be purchased • Singleton Pattern used • Aggregation – Ingredient Class

  4. Entity Classes • FutureDishes • Contains names of recipes selected for future consumption • Singleton pattern used

  5. Class Diagram – Entity Classes

  6. Control & Boundary Classes • ConvertUnits • Conversion from lb, gal, kg, tsp, etc… to ounce. • DishesThatCanBeMade • Check if dish(es) can be made. • MakeDish • Responsible for managing the process for preparing a dish. Handles serving size changes. • MakeGroceryList • Handles the creation and confirmation of the grocery list.

  7. Entity & Boundary Classes • FileManagement • Load, store, backup the four data stores – recipes, ingredients, grocery list and future dishes. • UserInterface • Display all GUI screens.

  8. State Chart

More Related