80 likes | 183 Views
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.
E N D
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 • 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
Entity Classes • FutureDishes • Contains names of recipes selected for future consumption • Singleton pattern used
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.
Entity & Boundary Classes • FileManagement • Load, store, backup the four data stores – recipes, ingredients, grocery list and future dishes. • UserInterface • Display all GUI screens.