UML Patterns

Return to Introduction  Previous page  Next page

What is a Pattern?

Patterns are parameterized collaborations; that is, they are a group of collaborating Objects/Classes that can be abstracted from a general set of modeling scenarios. Patterns are an excellent means of achieving re-use and building in robustness. As patterns are discovered in any new project, the basic Pattern template from previous engagements can be re-used with the appropriate variable names modified for the current project.

Patterns generally describe how to solve an abstract problem, and it is the task of the Pattern user to modify the Pattern elements to meet the demands of the current engagement.

Before using a Pattern it must first be created as a standard UML diagram and then saved as an XML Pattern file. This XML file can then be imported as a UML Resource that  can be used in any model.

Sparx-Created GoF Patterns

To get you started with Design Patterns in Enterprise Architect, Sparx Systems provide you with a zip file containing the Patterns described in the book Design Patterns  - Elements of Reusable Object-Oriented Software by Gamma et al., referred to as the 'Gang of Four' or GoF. Download this zip file of the Gang of Four Patterns for Enterprise Architect from www.sparxsystems.com/uml_patterns.html