Patterns and transformations

Patterns and transformations are kinds of transforms. Both patterns and transformations are reusable assets and are realized as Eclipse plug-ins

Both patterns and transformations result in the creation or modification of one or more elements. Both are structured as plug-ins and both operate within their own frameworks. The frameworks add basic functionality to each and facilitate their use.

Transformations are optimized for batch processing, primarily across metamodels, models, and different levels of abstractions. An example of a simple UML to text transformation is one that traverses a model and outputs a textual description of the elements into a document.

Patterns are optimized for interactive, incremental applications primarily in a single model and within the same level of abstraction. However, patterns can be combined with associated transformations to cross specific levels of abstractions or specific metamodels. An example of a simple pattern is a pattern that implements a given interface and provides implementations for any operations defined in the interface. To extend the functionality of this pattern, the author could associate a transformation that generates Java™ code bodies for the added operations.

Parent topic: IBM Rational design patterns

Related tasks
Authoring patterns

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.