Affiliation:
1. Universidad Nacional del Centro de la Pcia. de Buenos Aires, Argentina
Abstract
This chapter describes how to automatically translate MOF metamodels into NEREUS (Favre, 2005) (Favre, Martinez, & Pereira, 2005). We describe a bridge between MOF metamodels and NEREUS based on reusable schemes and a system of transformation rules. We consider MOF metamodels that are expressed by UML class diagrams, packages diagrams and OCL specifications. The text of a NEREUS specification is completed gradually. Figure 1 shows the main steps of this transformation. First, the signature and axioms are obtained by instantiating the reusable scheme BOX_. Next, associations are transformed by instantiating reusable schemes that exist in the component Association. Finally, OCL specifications are transformed using a set of transformation rules. Then, a specification that reflects all the information of UML diagrams is constructed. Following we describe the transformation of a basic package (that does not depend on others) including only classes and relationships. Following sections describe how to transform basic classes and associations. The transformation processes is supported by reusable schemes and a system of transformation rules for translating OCL specifications into NEREUS.
Reference4 articles.
1. Bidoit, M., & Mosses, P. (2004). CASL User Manual- Introduction to Using the Common Algebraic Specification Language (LNCS 2900). Heidelberg: Springer-Verlag.
2. Favre, L. (2005). Foundations for MDA-based Forward Engineering. Journal of Object Technology (JOT), 4(1), 129-153). Retrieved on July 20, 2009 from www.jot.fm
3. Favre, L. (2006). A Rigorous Framework for Model Driven Development. In K. Siau (Ed.), Advanced Topics in Database Research, Vol. 5 (pp. 1-27). Hershey, PA: Idea Group Publishing.
4. Favre, L. (2009) A Formal Foundation for Metamodeling (LNCS 5570, pp. 177-191). Heilderberg: Springer-Verlag.