Information Technology Reference
In-Depth Information
Java or C++ source code and creates the corresponding UML
class diagram.
On the other hand, France and Bieman categorize
model transformations along vertical and horizontal
dimensions [FRA 01]. Vertical transformations occur when a
source model is transformed into a target model at a different
level of abstraction. A horizontal transformation involves
transforming a source model into a target model that is at the
same level of abstraction as the source model. The next two
subsections deal with these explanations and present some
examples.
3.4.4. Vertical model transformations
Vertical transformations transform models between
different abstraction levels. This type of model
transformation is classified in refinement and abstraction
transformations [FRA 01]. Refinement transformations
transform models at a higher abstraction level into models at a
lower abstraction level, whereas abstraction transformations
transform models at a lower abstraction level into models at a
higher abstraction level.
Figure 3.10 presents an example of a refinement
transformation. On the left, the high-level abstraction
model presented before in Figure 3.1 is transformed into
the lower-level abstraction model from Figure 3.6. In
this example, Package elements are transformed into
Model elements and Class elements still remain as Class
elements. One Controler element and one View element
are created from each Package element and associated
with the corresponding Model element. Thus, the target
model includes software design concerns to represent a
basic Model-View-Controller (MVC) architectural design
pattern.
Search WWH ::




Custom Search