Integrating OCL and Model Transformations in Fujaba Mirko

Integrating OCL and Model Transformations in Fujaba Mirko Stölzel, Steffen Zschaler, and Leif Geiger OCLApps 2006, October 2, 2006

Outline Fakultät Informatik, Institut für Software- und Multimediatechnologie, Lehrstuhl Softwaretechnologie 1. Story Diagrams – Describing Transformations 2. OCL in Story Diagrams TU Dresden, October 2, 2006 Integrating OCL in Fujaba Storydiagrams (c) Steffen Zschaler 2

Story Diagrams – Describing Transformations Fakultät Informatik, Institut für Software- und Multimediatechnologie, Lehrstuhl Softwaretechnologie this an. Entity: Class s: Stereotype name == = „Persistent“ [success] [for each] target entity. Bean: Bean. Object. Class an. Entity. name : = an. Entity. get. Name() Code Generator of Dresden OCL toolkit can now be used to generate Java code from such story diagrams. TU Dresden, October 2, 2006 Integrating OCL in Fujaba Storydiagrams (c) Steffen Zschaler 3

OCL in Story Diagrams Fakultät Informatik, Institut für Software- und Multimediatechnologie, Lehrstuhl Softwaretechnologie Class. Name: : method. Name (par 1: Type 1) : void e 1 e 2 V 1: T 1 e 3 [failure] [success] this: Class. Name V 1: T 1 par 1: Type 1 this: Class. Name Algorithm for environment calculation modelled and implemented based on this: Class. Name e 4 Fujaba Story Diagrams. e 5 par 1: Type 1 Eclipse-Based Prototype available. V 2: T 2 par 1: Type 1 V 3: T 3 V 1: T 1 V 2: T 2 V 3: T 3 V 2: T 2 http: //dsd-serv. uni-paderborn. de/projects/ocl 4 fujaba/ e 6 e 7 [success] this: Class. Name e 8 Type 1 par 1: V 2: T 2 V 4: T 4 e 9 TU Dresden, October 2, 2006 Integrating OCL in Fujaba Storydiagrams (c) Steffen Zschaler 4

Fakultät Informatik, Institut für Software- und Multimediatechnologie, Lehrstuhl Softwaretechnologie Thank you for your attention! http: //dsd-serv. uni-paderborn. de/projects/ocl 4 fujaba/ TU Dresden, October 2, 2006 Integrating OCL in Fujaba Storydiagrams (c) Steffen Zschaler 5
- Slides: 5