You are here: TUCS > PUBLICATIONS > Publication Search > A Generic Deep Copy Algorithm ...
A Generic Deep Copy Algorithm for MOF-Based Models
Ivan Porres, Marcus Alanen, A Generic Deep Copy Algorithm for MOF-Based Models. TUCS Technical Reports 486, Turku Centre for Computer Science, 2002.
Abstract:
This paper discusses the problem of copying a subset of a model based on the Meta Object Facility (MOF), such as a UML model. We show how the usual shallow and deep copy operators implemented in many programming languages can not be used to copy MOF models. As a solution to this problem, we propose a new algorithm that works at the metamodel level and produces the expected results. This algorithm can be used to implement tools that transform models, e.g. to implement the copy and paste feature or a template instantiation mechanism in a UML editor.
Files:
Full publication in PDF-format
BibTeX entry:
@TECHREPORT{tPoAl02a,
title = {A Generic Deep Copy Algorithm for MOF-Based Models},
author = {Porres, Ivan and Alanen, Marcus},
number = {486},
series = {TUCS Technical Reports},
publisher = {Turku Centre for Computer Science},
year = {2002},
keywords = {MOF, Metamodeling, Model Transformation, UML, Deep Copy},
ISBN = {952-12-1073-7},
}
Belongs to TUCS Research Unit(s): Software Construction Laboratorium