-
Notifications
You must be signed in to change notification settings - Fork 10
"4 1" View: Use Case Diagram and Class Diagram (NJC)
Use case diagram above shows the 8 use cases derived from the coffee maker application.
Class diagram above shows the relationship among objects in coffee maker application. Referring to the class diagram, every coffee maker will have a recipe book in which it can have many recipes. A controller class, Main, is created to serve as the interface for the end users to interact with the system.
Communication diagram show the interaction between object for make coffee use case(ordering coffee)
To make this a better application, coffee maker should differentiate users like the admin/staff with the customer. Customer should only be able to order coffee while Admin/staff should be able to modify and update inventory as well as the recipe.
As illustrated in the diagram, a new use case, customize coffee, is suggested to be added to bring convenience to the customer to make the coffee based on their preference, however, this does not change the recipe(default value).