"4 1" View: Use Case Diagram and Class Diagram (NJC) - smashita/CoffeeMaker-2019 GitHub Wiki

Use Case Diagram

Coffee Maker Use Case

Use case diagram above shows the 8 use cases derived from the coffee maker application.

Class Diagram

Coffee Maker Class

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

Coffee Maker Communication

Communication diagram show the interaction between object for make coffee use case(ordering coffee)

Future Work

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.

New Use Case

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).