ATL M2M CIM to PIM

The goal of this transformation is the creation of basic Information Layer models from the Analysis Layer models. Thus, users are able to follow the development process on the basis of the customization of an existing code instead of starting from nothing.

To run the ATL Model to Model transformation from analysis layer model to information layer models you have to:

  1. Install the ATL Plugin (go to Eclipse Marketplace)
  2. Create an ATL Project (File->Project… ATL Prject)
  3. Create a directory and name it «atl»
  4. Copy ATL transformation files to the «atl» directory
  5. Create a directory and name it «models»
  6. Create a sub-directory of «models», and name it «src»
  7. Copy source model files (task, socual and space mdoels) to the «src» directory. Note: you can find sample models of the Light intensity, Healthy screen and Shared blackboard scenarios
  8. Create a sub-directory of «models» and name it «target»
  9. Check the project structure (see Figure 70)
  10. Create a new run configuration and configure models, metamodels and transformation files as depicted in Figure 71
  11. Run the transformation

Resources

ATL transformation Files

ATL file structure
Figure 70: ATL file structure
ATL Configuration
Figure 71: ATL Configuration

Configuration and execution of the ATL M2M CIM to PIM transformation process.

.Transformation results

.

You can reference this work as:
Ricardo Tesoriero, José A. Gallud, María D. Lozano and Víctor M. R. Penichet. CAUCE: Model-driven Development of Context-aware Applications for Ubiquitous Computing Environments
Journal of Universal Computer Science,  Vol. 16,  No. 15, pp. 2111-2138. 2010. Link: http://www.jucs.org/jucs_16_15/cauce_model_driven_development