SSAD course team project
Team member | % of work | telegram |
---|---|---|
Ilya Pechersky | 25% | @Happy_endon |
Timur Kharin | 25% | @tim404 |
Renat Khairullin | 25% | @renatkh |
Grisha Rybolovel | 25% | @Grisha_Rybolovlev |
Factory Method - is a creational design pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
We dicided to use factory method to be able to initialize both types of shops(Food and Health).
What is why we have Factory method and FoodMethod + HealthMood classes which extend from FactoryMethod.
The main reason that we use this patern is the fact that in the future we may need to expand the line of stores that will have differences.
Because of the factory method we will need to do much less actions and safely call the initialization of a new type of store using an already created generic factory method.
.idea
- xml files for projectout
/production
/TeamProjectSSAD
- classes of appsrc
- java files for appREADME.md
- text file for structuring information for a projectdatabase.txt
- database of users/shops with their logins and passwords
A description of the classes and their functionality can be found in the folder src
Clone the project to your device via Git for Windows (or write this link):
git clone https://github.com/IlyaPechersky/TeamProjectSSAD.git
Run this java file: