Builder Pattern - Implementation
by, 03-09-2012 at 08:13 PM (695 Views)
Factory builder pattern is used by the builder design patter so that to make a decision which concrete class for initiation to build the desired object type.
In this pattern, the participant classes are:
- An abstract interface is specified by the builder class to create the product object parts.
- ConcreteBuilder creates and puts the product parts together by doing the implementation of the builder interface. It also keeps the proper representation track that has been created and also provides the interface to save product.
- Complex object is created by the director by using the builder interface.
- Complex object is represented by the product, which is being created.