Flexible Serialisation of Model Instances: A Cascading Mapping Mechanism

Alexander Paulsen

AbstractMajor 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.
TypeMaster's thesis [Academic thesis]
Year2015
PublisherTechnical University of Denmark, Department of Applied Mathematics and Computer Science
AddressRichard Petersens Plads, Building 324, DK-2800 Kgs. Lyngby, Denmark, compute@compute.dtu.dk
SeriesDTU Compute M.Sc.-2015
NoteDTU supervisor: Ekkart Kindler, ekki@dtu.dk, DTU Compute
Electronic version(s)[pdf]
Publication linkhttp://www.compute.dtu.dk/English.aspx
BibTeX data [bibtex]
IMM Group(s)Computer Science & Engineering