bolagadalla / CS370-Project1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS370-Project1

This is a group project for our CSCI 370 at Queens College with professor Aryeh Greenburg.

Changes

  • @jihoonk-1116 Implemented the Observer design pattern

    • An extra function getMessages() was created.
    • Implemented getMessages() to all the actions of the Bank.
    • Added Logger class to log to the user recent transactions.
  • @hongdmo2 Implemented the Factory design pattern

    • Created Account interface which is implemented by CreditCard and DebitCard classes
    • User class takes in Account as a variable
    • The AccountFactory determines which account to assign to the User's Account.
  • @bolagadalla Implemented the State design pattern

    • Implemented State Design to manage the different state the bank will be in.
    • Implemented all the actions in the BankActions.
    • Implemented the BankStart state, Banking State, EndBank State functionalities
    • Added Some Code in the TerminalPrinter
  • @Kurissu Implemented the Proxy Pattern

    • Implemented a Bank interface with actions that the proxy can use.
    • Created the BankBranch which implements the Bank interface. The methods in the interface can be used fully in the BankBranch.
    • Created the AtmProxy which implements the Bank interface. This AtmProxy relies on the BankBranch.
  • @iamash96 Implemented the Visitor pattern

    • Created AccountElement interface which acts as the accept method of the Visitor pattern
    • Created the AccountVisitor interface which acts as the different overloaded method visitor of the Visitor pattern
    • Created the AccountVisitorImpl class which implements the AccountVisitor interface

About


Languages

Language:Java 100.0%