110 likes | 274 Views
A metamodel independent framework for model transformation: Towards generic model management patterns in reverse engineering. Zinovy Diskin and Juergen Dingel, Queen’s University Kingston, Ontario, Canada. Motivation. A big picture: RE as a generic MMt play. Slide 2. RE. MT. generic MMt.
E N D
A metamodel independent framework for model transformation: Towards generic model management patterns in reverse engineering Zinovy Diskin and Juergen Dingel, Queen’s University Kingston, Ontario, Canada
Motivation. A big picture: RE as a generic MMt play Slide 2 RE MT generic MMt Metadata management mathCT
MT-programming (on the left) via PB (pull-back) (right) Source model S; Source metamodel MS; Target metamodel MT; Source model; Metamodel mapping, MTMS Transformation Engine Transformation Spec (rules), PB-algorithm Trace mapping Target model Trace mapping Target model
MT in universal (not elementwise) terms(specification vs. implementation) Slide 4 m*’ T’ u! ’ m* T S (1) Definition: (T,,m*) = PB(, m) [ = ] MT MS m (2) Theorem [an elementwise implementation of def(1)] : T = {(e,y) S x MT | e. = y.m } Th. (2) gives rise to a procedure implementing specification (1)
MT-via-PB: separation of concerns Slide 5 Procedural part Declarative part m* derQS T S [PB] (retyping) [ algExp] (query exec) Q MS derQMS MT m
Does PB works? Yes, if we use proper (Kleisly) mappings to derived elements.
How essential are derived elements? Relational metamodel augmented with derived elements to interpret ER-metamodel. Semantics of data is hidden in the application code.