LeyenQian / CSCI4448_Project_3

CSCI4448 Project 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4448 Project 3

Contact information

  • Name: Leyen Qian (108384916)
  • Email: jiqi2811@colorado.edu
  • Team Members: Yi Hou (109288627), Ziyue Guo (107037369)

Environment

  • Java 14
  • Mac OS & Windows

Files Description

  • Main.java
    the entry point of the program.

  • output.pdf / .docx
    sample simulation output of 30 days

  • /lib/*
    included lib for unit testing

  • /Customer/Customer.java
    abstract class for Business.java, Casual.java and Catering.java
    Provide functionalities that shared in common

  • /Customer/CustomerFactory.java
    all functions are static, used to generate different customers based on the customer type (types are defined within class)

  • /Food/Food.java
    abstract class for EggRoll.java, JellyRoll.java, PastryRoll.java, SausageRoll.java and SpringRoll.java
    Provide functionalities that shared in common

  • /Food/FoodFactory.java
    all functions are static, used to generate different foods based on the food type (types are defined within class)

  • /FoodStore/Service/Product.java
    It acts like a wapper for different rolls (food)

  • /FoodStore/Service/ServiceDecorator.java
    Decorator for product, extends by Filling.java, Sauce.java and Topping.java

  • /FoodStore/ServiceFactory.java
    Based on the given service type, generate corresponding service that include the input original product(ServiceDecorator)

  • /FoodStore/Constants.java
    predefine of product price and service price index

  • /FoodStore/FoodStore.java
    It defines the basic functionalities that a food store supposed to have
    Such as get product, cancle order, check bill

  • /FoodStore/Inventory.java
    It used to store the inventory information

  • /FoodStore/Records.java
    It used to store order information and outage information

About

CSCI4448 Project 3


Languages

Language:Java 100.0%