Your browser does not support JavaScript!
http://iet.metastore.ingenta.com
1887

Transformation contracts in practice

Transformation contracts in practice

For access to this article, please select a purchase option:

Buy article PDF
£12.50
(plus tax if applicable)
Buy Knowledge Pack
10 articles for £75.00
(plus taxes if applicable)

IET members benefit from discounts to all IET publications and free access to E&T Magazine. If you are an IET member, log in to your account and the discounts will automatically be applied.

Learn more about IET membership 

Recommend Title Publication to library

You must fill out fields marked with: *

Librarian details
Name:*
Email:*
Your details
Name:*
Email:*
Department:*
Why are you recommending this title?
Select reason:
 
 
 
 
 
IET Software — Recommend this title to your library

Thank you

Your recommendation has been sent to your librarian.

Model-driven development (MDD) is a software engineering discipline which suggests that software development should be done at the modelling level and that applications should be generated from models. A key concept of MDD is a model transformation that generates software artifacts, such as code, from models. Since models are ‘first-class’ citizens in MDD, their verification and validation are important tasks and so are the model transformations. A transformation contract, which is also a model, is a specification of what a particular model transformation must implement and essentially specifies a relation between metamodels and properties that must hold on such a relation. The authors have defined a design pattern that enforces transformation contract correctness over model transformations implementations. This study reports on (i) the proposed design pattern, (ii) the design of the UMLtoEJB model transformation that generates application code, following the Enterprise Java Beans standard, from class diagrams described in the Unified Modelling Language, and (iii) a discussion on how the transformation contracts approach may help different actors, in an MDD software development process with transformation contracts, to identify erroneous situations.

References

    1. 1)
      • (2005) OMG adopted specification ptc/05-11-01.
    2. 2)
      • J. Warmer , A. Kleppe . (2003) The object constraint language.
    3. 3)
      • J.A. Goguen , G. Malcom . (1996) Algebraic semantics of imperative programs.
    4. 4)
      • Cabot, J., Clarisó, R., Riera, D.: `Verification of UML/OCL class diagrams using constraint programming', Proc. 2008 IEEE Int. Conf. Software Testing Verification and Validation Workshop, ICSTW '08, 2008, p. 73–80.
    5. 5)
      • Bézivin, J., Büttner, F., Gogolla, M., Jouault, F., Kurtev, I., Lindow, A.: `Model transformations? Transformation models!', Proc. Ninth Int. Conf. Models, 1–6 October 2006, Genova, Italy, 4199, p. 440–453.
    6. 6)
      • E.M. Clarke , O. Grumberg . (1999) Model checking.
    7. 7)
    8. 8)
      • OMG.: ‘Object constraint language specification, v2.0 [type]’, 2006 [cited 04/27/2010]. Available at: http://www.omg.org/spec/OCL/2.0/.
    9. 9)
      • J. Cabot , R. Clarisó , D. Riera , M. Leuschel , H. Wehrheim . (2009) Verifying UML/OCL operation contracts, IFM, 2009’, (.
    10. 10)
      • G. Booch , J. Rumbaugh , I. Jacobson . (2005) UML – user's guide.
    11. 11)
      • XML Metadata Interchange.: Object Management Group, 2007.
    12. 12)
      • Czarnecki, K., Helsen, S.: `Classification of model transformation approaches', OOPSLA’03 Workshop on Generative Techniques in the Context of Model-Driven Architecture, 2003, p. 1–17.
    13. 13)
      • A. Kleppe , J. Warmer , W. Bast . (2003) MDA explained – the model driven architecture: practice and promise.
    14. 14)
      • B. Meyer . (1997) Object-oriented software construction.
    15. 15)
      • K. Anastasakis , B. Bordbar , J. Küster , A.B. Baudry , S. Faivre , A.P. Ghosh . Analysis of model transformations via alloy.
    16. 16)
      • Clavel, M., Egea, M., de Dios, M.A.G.: `Building an efficient component for OCL evaluation', ECEASST, 1996, p. 15.
    17. 17)
      • E. Cariou , R. Marvie , L. Seinturier , L. Duchien , O. Patrascoiu . OCL for the specification of model transformation contracts.
    18. 18)
    19. 19)
      • Baudry, B., Dinh-Trong, T., Mottu, J.M.: `Model transformation testing challenges', ECMDA Workshop on Integration of Model Driven Development and Model Driven Testing, July 2006.
http://iet.metastore.ingenta.com/content/journals/10.1049/iet-sen.2011.0013
Loading

Related content

content/journals/10.1049/iet-sen.2011.0013
pub_keyword,iet_inspecKeyword,pub_concept
6
6
Loading
This is a required field
Please enter a valid email address