diff --git a/src/main/java/billgates/entities/EntryBuilder.java b/src/main/java/billgates/entities/EntryBuilder.java index 9eae2f6..67b563e 100644 --- a/src/main/java/billgates/entities/EntryBuilder.java +++ b/src/main/java/billgates/entities/EntryBuilder.java @@ -5,9 +5,9 @@ /** * Clean Architecture Layer: Enterprise Business Rules + * Design Pattern: Builder * This is a builder class that help to build an Entry or Splitter Entry. *
- * Design Pattern: Builder * The instance variables define the default values for each attribute. * Each setter method set an attribute of the entry and returns this EntryBuilder. * In this way, you can chain setters and build an Entry in one line. diff --git a/src/main/java/billgates/entities/User.java b/src/main/java/billgates/entities/User.java index 34773ca..b551b09 100644 --- a/src/main/java/billgates/entities/User.java +++ b/src/main/java/billgates/entities/User.java @@ -4,10 +4,10 @@ /** * Clean Architecture Layer: Enterprise Business Rules + * Design Pattern: Singleton * This class represents a user entity in our program. * Only one user is allowed in the running time of our program. *
- * Design Pattern: Singleton * The UserJoinUseCase will initialize the user by calling getInstance(parameters). * Other use cases can use getInstance() (the one without parameters) to obtain the current user. * diff --git a/src/main/java/billgates/interface_adapters/DatabaseGateway.java b/src/main/java/billgates/interface_adapters/DatabaseGateway.java index b81b03d..f863b4d 100644 --- a/src/main/java/billgates/interface_adapters/DatabaseGateway.java +++ b/src/main/java/billgates/interface_adapters/DatabaseGateway.java @@ -9,10 +9,10 @@ /** * Clean Architecture Layer: Application Business Rules + * Design Pattern: Strategy * This class is being used by multiple use cases to retrieve, insert, and modify information * that is used for the application. *
- * Design Pattern: Strategy * We can implement the database gateway in multiple different types of databases * The current implemented database by default, uses MySQL Database *