![GoF Design Patterns – Creational Patterns – Factory Method](https://circle.visual-paradigm.com/wp-content/uploads/2017/08/GoF-Design-Patterns-Creational-Patterns-Factory-Method-1.png)
This is a UML class diagram for the factory method design pattern.
Purpose
Exposes a method for creating objects, allowing subclasses to control the actual creation process.
Use When
- A class will not know what classes it will be required to create.
- Subclasses may specify what objects should be created.
- Parent classes wish to defer creation to their subclasses.
Import into your Project
Open diagram in Visual Paradigm [?]Copy the URL below, paste it in the Open Project windows of Visual Paradigm and press Enter to open it |
Posted by: Manuel Kearney