next up previous
Next: Façade Up: Design patterns used in Previous: Factory

Builder

A Builder is an object which assembles a number of other objects (such as GUI widgets) in a way determined by the data provided to it, to form one bigger object (such as a panel or a window in GUI). In our project, we can say that the DatabaseConnection class is a Builder, because it builds a Dump object out of many objects like Table or Column, in various ways depending on the type of the database it connects to.



Wiktor Kolodziej 2006-01-12