@MASTERSTHESIS\{IMM2015-06866, author = "A. Paulsen", title = "Flexible Serialisation of Model Instances: A Cascading Mapping Mechanism", year = "2015", school = "Technical University of Denmark, Department of Applied Mathematics and Computer Science", address = "Richard Petersens Plads, Building 324, {DK-}2800 Kgs. Lyngby, Denmark, compute@compute.dtu.dk", type = "", note = "{DTU} supervisor: Ekkart Kindler, ekki@dtu.dk, {DTU} Compute", url = "http://www.compute.dtu.dk/English.aspx", abstract = "Major parts of the code for a software system can be generated from models. These models come with functionality for editing and storing model instances in the {XMI} format. Not all developers might want to store instances in exactly this format, and the current alternatives for modifications are insufficient. The goal of the thesis is to create a flexible serialiser for model instances. The serialiser relies on mappings to define the relations from the model to a {XML} representation. The mapping mechanism developed is designed and implemented as an extension to the Eclipse Modeling Framework (EMF). The serialiser provides some of the functionality defined in the {ISO} standard for Petri nets. The serialiser is also able to serialise other formats than Petri nets. Among other functionality, mappings can be defined cascading and the best fitting mapping is chosen. New mappings can be added to the serialiser using known methods in Eclipse and requires no programming. If no mappings are defined the serialiser relies on the standard, basic serialiser provided with {EMF}." }