Research Article

Integration of Data from Vehicular Ad Hoc Networks Using Model-Driven Collaborative Tools

Algorithm 3

Excerpt of a mapping model.
<gmfmap:Mapping xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmfmap="http://www.eclipse.org/gmf/2008/mappings"
xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
<nodes>
<containmentFeature
href="spacemm.ecore#//Root/Vehicle"/>
<ownedChild>
<domainMetaElement
href="spacemm.ecore#//Vehicle"/>
<labelMappings
xsi:type="gmfmap:FeatureLabelMapping">
<diagramLabel
href="spacemm.gmfgraph#VehicleName"/>
<features
href="spacemm.ecore#//Vehicle/label"/>
</labelMappings>
<tool
xsi:type="gmftool:CreationTool"
href="spacemm.gmftool#//@palette/@tools.0/@tools.0"/>
<diagramNode
href="spacemm.gmfgraph#Vehicle"/>
</ownedChild>
</nodes>