11 transformation

8
Transformations CT015-3.5-2 Design Methods

Upload: royfelixadekie

Post on 25-Sep-2015

1 views

Category:

Documents


0 download

DESCRIPTION

Design Method

TRANSCRIPT

  • Transformations

    CT015-3.5-2 Design Methods

  • CT015-3.5-2 Design Methods Transformation

    Module Objectives

    Apply transformations in the development process.Perform model transformations

    Forward transformations Reverse transformations

  • CT015-3.5-2 Design Methods Transformation

    Transformations

    Transformations create elements in a target model (domain) based on elements from a source model Often, the source domain is more

    abstract than the target domain Examples:

    Based on a use-case model, create an analysis model that realizes the use cases following a modeling standard

    Based on the analysis model, create a design model that incorporates elements of the companys security and persistence frameworks, and follows a modeling standard

    Starting with a UML model, apply a built-in transformation to create code elements

    Take existing code and apply a transformation to abstract out the design elements. Transformations

  • CT015-3.5-2 Design Methods Transformation

    Running a Transformation

    Transformation Configuration

    Source

    Transformation

    Target

  • CT015-3.5-2 Design Methods Transformation

    Reverse Transformations

    Java and C++ transformations can be reversed Enable a reverse transformation in the

    transformation configuration Allows you to synchronize changes between UML

    models and C++ and Java code If necessary, compare and merge session starts when

    transformation is run

  • CT015-3.5-2 Design Methods Transformation

    UML Visual Development

    C++ and Java code can be visualized with class and sequence diagrams Changes to the code update the diagram Changes to the diagram update the code Harvest classes into UML models

  • CT015-3.5-2 Design Methods Transformation

    Review

    What tools exist to help build your own patterns?

  • CT015-3.5-2 Design Methods Transformation

    Q & A