Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/META-INF/MANIFEST.MF
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/META-INF/MANIFEST.MF	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/META-INF/MANIFEST.MF	(revision 888)
@@ -0,0 +1,27 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: no.hib.dpf.examples.smodl
+Bundle-SymbolicName: no.hib.dpf.examples.smodl; singleton:=true
+Bundle-Version: 1.0.0
+Require-Bundle: org.eclipse.jdt.core;bundle-version="3.5.0",
+ org.eclipse.xtend.profiler;resolution:=optional,
+ org.apache.commons.logging,
+ no.hib.dpf.codegen.xpand.ui;bundle-version="1.0.0",
+ org.apache.log4j;resolution:=optional,
+ no.hib.dpf.core;bundle-version="0.1.1",
+ no.hib.dpf.codegen.xpand.metamodel;bundle-version="1.0.0",
+ com.ibm.icu;bundle-version="4.0.1",
+ org.antlr.runtime;bundle-version="3.0.0",
+ org.eclipse.core.runtime;bundle-version="3.5.0",
+ org.eclipse.emf.mwe.utils;bundle-version="0.7.0",
+ org.eclipse.emf.ecore.xmi;bundle-version="2.5.0",
+ org.eclipse.jface.text;bundle-version="3.5.0",
+ org.eclipse.xpand;bundle-version="0.7.0",
+ org.eclipse.xtend;bundle-version="0.7.0",
+ org.eclipse.xtend.typesystem.emf;bundle-version="0.7.0",
+ org.eclipse.xtend.backend;bundle-version="1.0.0";resolution:=optional,
+ org.eclipse.xtend.middleend.xpand;bundle-version="1.0.0";resolution:=optional,
+ org.eclipse.xtend.middleend.xtend;bundle-version="1.0.0";resolution:=optional,
+ org.eclipse.xtend.util.stdlib;bundle-version="1.0.1",
+ org.eclipse.xtend.typesystem.xsd;bundle-version="1.0.1"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.xmi
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.xmi	(revision 886)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.xmi	(revision 888)
@@ -3,25 +3,25 @@
   <core:Specification metaFile="SmodlMetametaModel.xmi" type="/1">
     <graph id="666677fa-d662-4a4c-b27f-08a1fa402130" type="/1/@graph">
-      <nodes id="c64a7a88-892a-4529-b1b2-53dd29153975" name="Service" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.0 /0/@graph/@arrows.1 /0/@graph/@arrows.2 /0/@graph/@arrows.11" constraints="/0/@constraints.0 /0/@constraints.1 /0/@constraints.2"/>
-      <nodes id="757dc011-2eda-434d-a4d6-9d7fae009948" name="Doc" typeNode="/1/@graph/@nodes.0" incomings="/0/@graph/@arrows.0 /0/@graph/@arrows.5 /0/@graph/@arrows.6" constraints="/0/@constraints.1 /0/@constraints.5 /0/@constraints.6"/>
-      <nodes id="b94328f0-f58b-4292-bffb-5e935715eab6" name="Method" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.3 /0/@graph/@arrows.5 /0/@graph/@arrows.7 /0/@graph/@arrows.8" incomings="/0/@graph/@arrows.1" constraints="/0/@constraints.2 /0/@constraints.3 /0/@constraints.5 /0/@constraints.7 /0/@constraints.9"/>
-      <nodes id="800259a1-612b-4d0a-ae32-4c7d92885a72" name="Struct" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.4 /0/@graph/@arrows.6 /0/@graph/@arrows.13" incomings="/0/@graph/@arrows.2 /0/@graph/@arrows.8 /0/@graph/@arrows.9 /0/@graph/@arrows.13" constraints="/0/@constraints.6 /0/@constraints.7 /0/@constraints.8 /0/@constraints.10"/>
-      <nodes id="c57b1492-1c52-436f-95d2-af02862bf40b" name="Arg" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.9 /0/@graph/@arrows.10 /0/@graph/@arrows.12" incomings="/0/@graph/@arrows.3 /0/@graph/@arrows.12" constraints="/0/@constraints.3 /0/@constraints.4 /0/@constraints.8 /0/@constraints.9"/>
-      <nodes id="47e326d7-483d-4a59-ad2a-5672ad924e80" name="SimpleType" typeNode="/1/@graph/@nodes.0" incomings="/0/@graph/@arrows.4 /0/@graph/@arrows.7 /0/@graph/@arrows.10" constraints="/0/@constraints.7 /0/@constraints.8"/>
+      <nodes id="c64a7a88-892a-4529-b1b2-53dd29153975" name="Service" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.0 /0/@graph/@arrows.1 /0/@graph/@arrows.2 /0/@graph/@arrows.11" constraints="/0/@constraints.0 /0/@constraints.9"/>
+      <nodes id="757dc011-2eda-434d-a4d6-9d7fae009948" name="Doc" typeNode="/1/@graph/@nodes.0" incomings="/0/@graph/@arrows.0 /0/@graph/@arrows.5 /0/@graph/@arrows.6" constraints="/0/@constraints.3 /0/@constraints.4 /0/@constraints.9"/>
+      <nodes id="b94328f0-f58b-4292-bffb-5e935715eab6" name="Method" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.3 /0/@graph/@arrows.5 /0/@graph/@arrows.7 /0/@graph/@arrows.8" incomings="/0/@graph/@arrows.1" constraints="/0/@constraints.1 /0/@constraints.3 /0/@constraints.5 /0/@constraints.7"/>
+      <nodes id="800259a1-612b-4d0a-ae32-4c7d92885a72" name="Struct" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.4 /0/@graph/@arrows.6 /0/@graph/@arrows.13" incomings="/0/@graph/@arrows.2 /0/@graph/@arrows.8 /0/@graph/@arrows.9 /0/@graph/@arrows.13" constraints="/0/@constraints.4 /0/@constraints.5 /0/@constraints.6 /0/@constraints.8"/>
+      <nodes id="c57b1492-1c52-436f-95d2-af02862bf40b" name="Arg" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.9 /0/@graph/@arrows.10 /0/@graph/@arrows.12" incomings="/0/@graph/@arrows.3 /0/@graph/@arrows.12" constraints="/0/@constraints.1 /0/@constraints.2 /0/@constraints.6 /0/@constraints.7"/>
+      <nodes id="47e326d7-483d-4a59-ad2a-5672ad924e80" name="SimpleType" typeNode="/1/@graph/@nodes.0" incomings="/0/@graph/@arrows.4 /0/@graph/@arrows.7 /0/@graph/@arrows.10" constraints="/0/@constraints.5 /0/@constraints.6"/>
       <nodes id="e989229e-40c0-4729-8ab4-129edb389a1b" name="target" typeNode="/1/@graph/@nodes.1" incomings="/0/@graph/@arrows.11" constraints="/0/@constraints.0"/>
-      <arrows id="e453dc90-9164-49d2-8e87-e39feb6e3d81" name="serviceDoc" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.1"/>
-      <arrows id="6a3dfde5-24bb-455f-b74f-2d653b927e38" name="methodRef" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.2" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.2"/>
+      <arrows id="e453dc90-9164-49d2-8e87-e39feb6e3d81" name="serviceDoc" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.9"/>
+      <arrows id="6a3dfde5-24bb-455f-b74f-2d653b927e38" name="methodRef" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.2" typeArrow="/1/@graph/@arrows.1"/>
       <arrows id="be0b7b98-8fb4-4b98-9ccd-187063a35196" name="structRef" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1"/>
-      <arrows id="fa43f9fc-1138-40c4-933b-85fceac9dbc4" name="firstArg" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.4" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.3 /0/@constraints.9"/>
-      <arrows id="9dbef9c4-b0e4-464b-aa6d-7c7946cac44b" name="filedRef" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1"/>
-      <arrows id="22bde228-81d3-4287-9f6b-dff5681b1899" name="methodDoc" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.5"/>
-      <arrows id="2be6d53a-d4d2-4d73-8ba5-b278e82f8db8" name="structDoc" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.6"/>
-      <arrows id="1596f5e0-4952-40d5-a012-ba70054585ea" name="simpleResult" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.7"/>
-      <arrows id="d08c7370-6633-4b1d-98dc-838e16e22137" name="structResult" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.7"/>
-      <arrows id="6b2ee854-3c9e-4afd-9cad-23b299cb0c4d" name="argStruct" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.8"/>
-      <arrows id="87fcde3c-c299-4466-889c-9ff59ac9e063" name="argType" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.8"/>
+      <arrows id="fa43f9fc-1138-40c4-933b-85fceac9dbc4" name="firstArg" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.4" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.1 /0/@constraints.7"/>
+      <arrows id="9dbef9c4-b0e4-464b-aa6d-7c7946cac44b" name="fieldRef" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1"/>
+      <arrows id="22bde228-81d3-4287-9f6b-dff5681b1899" name="methodDoc" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.3"/>
+      <arrows id="2be6d53a-d4d2-4d73-8ba5-b278e82f8db8" name="structDoc" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.4"/>
+      <arrows id="1596f5e0-4952-40d5-a012-ba70054585ea" name="simpleResult" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.5"/>
+      <arrows id="d08c7370-6633-4b1d-98dc-838e16e22137" name="structResult" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.5"/>
+      <arrows id="6b2ee854-3c9e-4afd-9cad-23b299cb0c4d" name="argStruct" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.6"/>
+      <arrows id="87fcde3c-c299-4466-889c-9ff59ac9e063" name="argType" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.6"/>
       <arrows id="e88b0e34-fb43-478b-b893-8c5985fe5e8a" name="targetRef" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.6" typeArrow="/1/@graph/@arrows.0" constraints="/0/@constraints.0"/>
-      <arrows id="541f4a01-0594-4b09-9259-09de3b1d3feb" name="nextArg" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.4" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.4"/>
-      <arrows id="e7ddde53-673d-401d-831e-9bac9e0000b7" name="extends" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.10"/>
+      <arrows id="541f4a01-0594-4b09-9259-09de3b1d3feb" name="nextArg" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.4" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.2"/>
+      <arrows id="e7ddde53-673d-401d-831e-9bac9e0000b7" name="extends" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1" constraints="/0/@constraints.8"/>
     </graph>
     <constraints id="456938f0-3001-4391-b2db-507209499960" nodes="/0/@graph/@nodes.0 /0/@graph/@nodes.6" arrows="/0/@graph/@arrows.11" parameters="min:1;max:1">
@@ -35,32 +35,4 @@
         </nodeMapping>
         <arrowMapping value="/0/@graph/@arrows.11">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="a8898f12-180c-4322-b81a-3ce627a6ef2e" nodes="/0/@graph/@nodes.0 /0/@graph/@nodes.1" arrows="/0/@graph/@arrows.0" parameters="min:1;max:0">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/0/@graph/@nodes.0">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/0/@graph/@nodes.1">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
-        </nodeMapping>
-        <arrowMapping value="/0/@graph/@arrows.0">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="9021d963-11bb-468e-9c7f-545a6a345ae3" nodes="/0/@graph/@nodes.0 /0/@graph/@nodes.2" arrows="/0/@graph/@arrows.1" parameters="min:1;max:-1">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/0/@graph/@nodes.0">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/0/@graph/@nodes.2">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
-        </nodeMapping>
-        <arrowMapping value="/0/@graph/@arrows.1">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
         </arrowMapping>
@@ -188,4 +160,18 @@
       </mappings>
     </constraints>
+    <constraints id="a8898f12-180c-4322-b81a-3ce627a6ef2e" nodes="/0/@graph/@nodes.0 /0/@graph/@nodes.1" arrows="/0/@graph/@arrows.0" parameters="min:1;max:0">
+      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
+      <mappings>
+        <nodeMapping value="/0/@graph/@nodes.0">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
+        </nodeMapping>
+        <nodeMapping value="/0/@graph/@nodes.1">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
+        </nodeMapping>
+        <arrowMapping value="/0/@graph/@arrows.0">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
+        </arrowMapping>
+      </mappings>
+    </constraints>
   </core:Specification>
   <core:Specification>
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/RepositoryService.dpf
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/RepositoryService.dpf	(revision 883)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/RepositoryService.dpf	(revision 888)
@@ -3,145 +3,169 @@
   <diagram:DSpecification dType="/1" gridVisible="false" metaFile="SmodlMetaModel.dpf">
     <dGraph dType="/1/@dGraph">
-      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.0 /0/@dGraph/@dArrows.1 /0/@dGraph/@dArrows.2 /0/@dGraph/@dArrows.3 /0/@dGraph/@dArrows.4 /0/@dGraph/@dArrows.5 /0/@dGraph/@dArrows.6" location="72 156" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.0 /0/@dGraph/@dArrows.1 /0/@dGraph/@dArrows.2 /0/@dGraph/@dArrows.3 /0/@dGraph/@dArrows.4 /0/@dGraph/@dArrows.5 /0/@dGraph/@dArrows.6 /0/@dGraph/@dArrows.23" location="12 192" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.0"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.7 /0/@dGraph/@dArrows.10" dIncomings="/0/@dGraph/@dArrows.1" location="300 24" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.6" dIncomings="/0/@dGraph/@dArrows.0" location="12 48" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.1"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.13" dIncomings="/0/@dGraph/@dArrows.2" location="300 98" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.7 /0/@dGraph/@dArrows.11" dIncomings="/0/@dGraph/@dArrows.1" location="240 19" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.2"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.20" dIncomings="/0/@dGraph/@dArrows.3" location="300 156" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.12" dIncomings="/0/@dGraph/@dArrows.2" location="240 79" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.3"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.9 /0/@dGraph/@dArrows.21" dIncomings="/0/@dGraph/@dArrows.4" location="300 216" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.8 /0/@dGraph/@dArrows.13" dIncomings="/0/@dGraph/@dArrows.3" location="240 140" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.4"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.19" dIncomings="/0/@dGraph/@dArrows.5" location="300 288" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.16" dIncomings="/0/@dGraph/@dArrows.4" location="240 200" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.5"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.4" dOutgoings="/0/@dGraph/@dArrows.8 /0/@dGraph/@dArrows.11" dIncomings="/0/@dGraph/@dArrows.7" location="540 19" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.9 /0/@dGraph/@dArrows.14" dIncomings="/0/@dGraph/@dArrows.5" location="240 276" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.6"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.4" dOutgoings="/0/@dGraph/@dArrows.12" dIncomings="/0/@dGraph/@dArrows.8" location="756 24" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.2" dOutgoings="/0/@dGraph/@dArrows.15" dIncomings="/0/@dGraph/@dArrows.6" location="240 336" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.7"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.4" dOutgoings="/0/@dGraph/@dArrows.14" dIncomings="/0/@dGraph/@dArrows.9" location="540 216" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.4" dOutgoings="/0/@dGraph/@dArrows.10 /0/@dGraph/@dArrows.17" dIncomings="/0/@dGraph/@dArrows.7" location="480 19" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.8"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.3" dOutgoings="/0/@dGraph/@dArrows.15 /0/@dGraph/@dArrows.16 /0/@dGraph/@dArrows.17 /0/@dGraph/@dArrows.18" dIncomings="/0/@dGraph/@dArrows.6 /0/@dGraph/@dArrows.14 /0/@dGraph/@dArrows.20" location="300 396" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.4" dOutgoings="/0/@dGraph/@dArrows.18" dIncomings="/0/@dGraph/@dArrows.10" location="720 19" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.9"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.6" dIncomings="/0/@dGraph/@dArrows.0" location="72 48" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.4" dIncomings="/0/@dGraph/@dArrows.8" location="480 140" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.10"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.5" dIncomings="/0/@dGraph/@dArrows.11 /0/@dGraph/@dArrows.12 /0/@dGraph/@dArrows.15 /0/@dGraph/@dArrows.16 /0/@dGraph/@dArrows.17 /0/@dGraph/@dArrows.19" location="696 307" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.4" dOutgoings="/0/@dGraph/@dArrows.24" dIncomings="/0/@dGraph/@dArrows.9" location="516 276" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.11"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.5" dIncomings="/0/@dGraph/@dArrows.18" location="696 384" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.3" dOutgoings="/0/@dGraph/@dArrows.19 /0/@dGraph/@dArrows.20 /0/@dGraph/@dArrows.21 /0/@dGraph/@dArrows.22" dIncomings="/0/@dGraph/@dArrows.16 /0/@dGraph/@dArrows.23 /0/@dGraph/@dArrows.24" location="240 396" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.12"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.5" dIncomings="/0/@dGraph/@dArrows.10 /0/@dGraph/@dArrows.13 /0/@dGraph/@dArrows.21" location="564 108" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.5" dIncomings="/0/@dGraph/@dArrows.11 /0/@dGraph/@dArrows.12 /0/@dGraph/@dArrows.13 /0/@dGraph/@dArrows.14" location="660 169" size="100 30">
         <node href="RepositoryService.xmi#/0/@graph/@nodes.13"/>
       </dNodes>
-      <dArrows dType="/1/@dGraph/@dArrows.10" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.10">
+      <dNodes dType="/1/@dGraph/@dNodes.5" dIncomings="/0/@dGraph/@dArrows.15 /0/@dGraph/@dArrows.19 /0/@dGraph/@dArrows.20 /0/@dGraph/@dArrows.21 /0/@dGraph/@dArrows.18 /0/@dGraph/@dArrows.17" location="759 288" size="100 30">
+        <node href="RepositoryService.xmi#/0/@graph/@nodes.14"/>
+      </dNodes>
+      <dNodes dType="/1/@dGraph/@dNodes.5" dIncomings="/0/@dGraph/@dArrows.22" location="759 396" size="100 30">
+        <node href="RepositoryService.xmi#/0/@graph/@nodes.15"/>
+      </dNodes>
+      <dArrows dType="/1/@dGraph/@dArrows.11" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.1">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.0"/>
-        <nameOffset offset="138 35"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.1">
+        <nameOffset offset="116 34"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.2">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.1"/>
-        <nameOffset offset="33 23"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.2">
+        <bendpoints>170 33</bendpoints>
+        <nameOffset offset="6 -31"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.3">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.2"/>
-        <nameOffset offset="54 4"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.3">
+        <bendpoints>189 96</bendpoints>
+        <nameOffset offset="21 1"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.4">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.3"/>
-        <nameOffset offset="15 -31"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.4">
+        <nameOffset offset="0 0"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.5">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.4"/>
-        <nameOffset offset="46 -48"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.5">
+        <nameOffset offset="-1 -13"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.6">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.5"/>
-        <nameOffset offset="49 -65"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.2" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.9">
+        <bendpoints>186 288</bendpoints>
+        <nameOffset offset="4 -30"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.7">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.6"/>
-        <bendpoints>237 409</bendpoints>
-        <nameOffset offset="0 -40"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.3" dSource="/0/@dGraph/@dNodes.1" dTarget="/0/@dGraph/@dNodes.6">
+        <bendpoints>181 350</bendpoints>
+        <nameOffset offset="-1 -18"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.3" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.8">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.7"/>
-        <nameOffset offset="0 -34"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.9" dSource="/0/@dGraph/@dNodes.6" dTarget="/0/@dGraph/@dNodes.7">
+        <nameOffset offset="-17 -30"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.3" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.10">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.8"/>
-        <nameOffset offset="3 -34"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.3" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.8">
+        <nameOffset offset="-20 -34"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.3" dSource="/0/@dGraph/@dNodes.6" dTarget="/0/@dGraph/@dNodes.11">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.9"/>
-        <nameOffset offset="38 -38"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.5" dSource="/0/@dGraph/@dNodes.1" dTarget="/0/@dGraph/@dNodes.13">
+        <nameOffset offset="-2 -23"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.12" dSource="/0/@dGraph/@dNodes.8" dTarget="/0/@dGraph/@dNodes.9">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.10"/>
-        <nameOffset offset="46 -89"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.6" dSource="/0/@dGraph/@dNodes.6" dTarget="/0/@dGraph/@dNodes.11">
+        <nameOffset offset="-3 -33"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.7" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.13">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.11"/>
-        <bendpoints>744 96</bendpoints>
-        <nameOffset offset="169 -74"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.6" dSource="/0/@dGraph/@dNodes.7" dTarget="/0/@dGraph/@dNodes.11">
+        <bendpoints>704 112</bendpoints>
+        <nameOffset offset="215 -358"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.7" dSource="/0/@dGraph/@dNodes.3" dTarget="/0/@dGraph/@dNodes.13">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.12"/>
-        <bendpoints>809 324</bendpoints>
-        <nameOffset offset="160 27"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.5" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.13">
+        <bendpoints>671 122</bendpoints>
+        <nameOffset offset="23 -321"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.7" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.13">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.13"/>
-        <nameOffset offset="27 -3"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.11" dSource="/0/@dGraph/@dNodes.8" dTarget="/0/@dGraph/@dNodes.9">
+        <bendpoints>549 187</bendpoints>
+        <nameOffset offset="-167 -19"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.7" dSource="/0/@dGraph/@dNodes.6" dTarget="/0/@dGraph/@dNodes.13">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.14"/>
-        <nameOffset offset="93 169"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.9" dTarget="/0/@dGraph/@dNodes.11">
+        <bendpoints>697 232</bendpoints>
+        <nameOffset offset="129 113"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.7" dSource="/0/@dGraph/@dNodes.7" dTarget="/0/@dGraph/@dNodes.14">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.15"/>
-        <bendpoints>574 330</bendpoints>
-        <nameOffset offset="-27 -8"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.9" dTarget="/0/@dGraph/@dNodes.11">
+        <nameOffset offset="-19 2"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.8" dSource="/0/@dGraph/@dNodes.5" dTarget="/0/@dGraph/@dNodes.12">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.16"/>
-        <bendpoints>591 398</bendpoints>
-        <nameOffset offset="5 58"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.9" dTarget="/0/@dGraph/@dNodes.11">
+        <bendpoints>419 212</bendpoints>
+        <bendpoints>420 442</bendpoints>
+        <bendpoints>289 443</bendpoints>
+        <nameOffset offset="-82 -79"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.10" dSource="/0/@dGraph/@dNodes.8" dTarget="/0/@dGraph/@dNodes.14">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.17"/>
-        <bendpoints>606 416</bendpoints>
-        <nameOffset offset="39 22"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.9" dTarget="/0/@dGraph/@dNodes.12">
+        <bendpoints>754 118</bendpoints>
+        <nameOffset offset="271 -240"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.10" dSource="/0/@dGraph/@dNodes.9" dTarget="/0/@dGraph/@dNodes.14">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.18"/>
-        <bendpoints>376 437</bendpoints>
-        <bendpoints>750 427</bendpoints>
-        <nameOffset offset="123 64"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.5" dSource="/0/@dGraph/@dNodes.5" dTarget="/0/@dGraph/@dNodes.11">
+        <nameOffset offset="339 -79"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.12" dTarget="/0/@dGraph/@dNodes.14">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.19"/>
-        <bendpoints>700 299</bendpoints>
-        <nameOffset offset="-41 -122"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.12" dSource="/0/@dGraph/@dNodes.3" dTarget="/0/@dGraph/@dNodes.9">
+        <bendpoints>737 334</bendpoints>
+        <nameOffset offset="-10 46"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.12" dTarget="/0/@dGraph/@dNodes.14">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.20"/>
-        <bendpoints>433 173</bendpoints>
-        <bendpoints>425 411</bendpoints>
-        <nameOffset offset="109 218"/>
-      </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.5" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.13">
+        <bendpoints>733 369</bendpoints>
+        <bendpoints>758 355</bendpoints>
+        <nameOffset offset="81 114"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.12" dTarget="/0/@dGraph/@dNodes.14">
         <arrow href="RepositoryService.xmi#/0/@graph/@arrows.21"/>
-        <bendpoints>610 187</bendpoints>
-        <nameOffset offset="156 39"/>
+        <bendpoints>842 379</bendpoints>
+        <nameOffset offset="125 69"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.4" dSource="/0/@dGraph/@dNodes.12" dTarget="/0/@dGraph/@dNodes.15">
+        <arrow href="RepositoryService.xmi#/0/@graph/@arrows.22"/>
+        <nameOffset offset="-18 -10"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.2" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.12">
+        <arrow href="RepositoryService.xmi#/0/@graph/@arrows.23"/>
+        <bendpoints>120 410</bendpoints>
+        <nameOffset offset="-3 -13"/>
+      </dArrows>
+      <dArrows dType="/1/@dGraph/@dArrows.9" dSource="/0/@dGraph/@dNodes.11" dTarget="/0/@dGraph/@dNodes.12">
+        <arrow href="RepositoryService.xmi#/0/@graph/@arrows.24"/>
+        <bendpoints>557 340</bendpoints>
+        <nameOffset offset="25 62"/>
       </dArrows>
       <graph href="RepositoryService.xmi#/0/@graph"/>
@@ -151,30 +175,30 @@
   <diagram:DSpecification dType="/2" gridVisible="false" metaFile="SmodlMetaModel.dpf">
     <dGraph dType="/2/@dGraph">
-      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.0 /1/@dGraph/@dArrows.1 /1/@dGraph/@dArrows.2 /1/@dGraph/@dArrows.10" dConstraints="/1/@dConstraints.0 /1/@dConstraints.1 /1/@dConstraints.2" location="72 228" size="100 30">
+      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.0 /1/@dGraph/@dArrows.1 /1/@dGraph/@dArrows.2 /1/@dGraph/@dArrows.11" dConstraints="/1/@dConstraints.0 /1/@dConstraints.9" location="118 144" size="100 30">
         <node href="RepositoryService.xmi#/1/@graph/@nodes.0"/>
       </dNodes>
-      <dNodes dType="/2/@dGraph/@dNodes.0" dIncomings="/1/@dGraph/@dArrows.0 /1/@dGraph/@dArrows.7 /1/@dGraph/@dArrows.8" dConstraints="/1/@dConstraints.1 /1/@dConstraints.5 /1/@dConstraints.8" location="324 48" size="100 30">
+      <dNodes dType="/2/@dGraph/@dNodes.0" dIncomings="/1/@dGraph/@dArrows.0 /1/@dGraph/@dArrows.5 /1/@dGraph/@dArrows.6" dConstraints="/1/@dConstraints.3 /1/@dConstraints.4 /1/@dConstraints.9" location="336 12" size="100 30">
         <node href="RepositoryService.xmi#/1/@graph/@nodes.1"/>
       </dNodes>
-      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.3 /1/@dGraph/@dArrows.5 /1/@dGraph/@dArrows.7 /1/@dGraph/@dArrows.12" dIncomings="/1/@dGraph/@dArrows.1" dConstraints="/1/@dConstraints.2 /1/@dConstraints.3 /1/@dConstraints.5 /1/@dConstraints.6 /1/@dConstraints.9" location="324 228" size="100 30">
+      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.3 /1/@dGraph/@dArrows.5 /1/@dGraph/@dArrows.7 /1/@dGraph/@dArrows.8" dIncomings="/1/@dGraph/@dArrows.1" dConstraints="/1/@dConstraints.1 /1/@dConstraints.3 /1/@dConstraints.5 /1/@dConstraints.7" location="336 144" size="100 30">
         <node href="RepositoryService.xmi#/1/@graph/@nodes.2"/>
       </dNodes>
-      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.4 /1/@dGraph/@dArrows.8 /1/@dGraph/@dArrows.13" dIncomings="/1/@dGraph/@dArrows.2 /1/@dGraph/@dArrows.11 /1/@dGraph/@dArrows.12 /1/@dGraph/@dArrows.13" dConstraints="/1/@dConstraints.6 /1/@dConstraints.7 /1/@dConstraints.8 /1/@dConstraints.10" location="324 420" size="100 30">
+      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.4 /1/@dGraph/@dArrows.6 /1/@dGraph/@dArrows.13" dIncomings="/1/@dGraph/@dArrows.2 /1/@dGraph/@dArrows.8 /1/@dGraph/@dArrows.9 /1/@dGraph/@dArrows.13" dConstraints="/1/@dConstraints.4 /1/@dConstraints.5 /1/@dConstraints.6 /1/@dConstraints.8" location="336 300" size="100 30">
         <node href="RepositoryService.xmi#/1/@graph/@nodes.3"/>
       </dNodes>
-      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.6 /1/@dGraph/@dArrows.9 /1/@dGraph/@dArrows.11" dIncomings="/1/@dGraph/@dArrows.3 /1/@dGraph/@dArrows.9" dConstraints="/1/@dConstraints.3 /1/@dConstraints.4 /1/@dConstraints.7 /1/@dConstraints.9" location="660 228" size="100 30">
+      <dNodes dType="/2/@dGraph/@dNodes.0" dOutgoings="/1/@dGraph/@dArrows.9 /1/@dGraph/@dArrows.10 /1/@dGraph/@dArrows.12" dIncomings="/1/@dGraph/@dArrows.3 /1/@dGraph/@dArrows.12" dConstraints="/1/@dConstraints.1 /1/@dConstraints.2 /1/@dConstraints.6 /1/@dConstraints.7" location="636 144" size="100 30">
         <node href="RepositoryService.xmi#/1/@graph/@nodes.4"/>
       </dNodes>
-      <dNodes dType="/2/@dGraph/@dNodes.0" dIncomings="/1/@dGraph/@dArrows.4 /1/@dGraph/@dArrows.5 /1/@dGraph/@dArrows.6" dConstraints="/1/@dConstraints.6 /1/@dConstraints.7" location="660 420" size="100 30">
+      <dNodes dType="/2/@dGraph/@dNodes.0" dIncomings="/1/@dGraph/@dArrows.4 /1/@dGraph/@dArrows.7 /1/@dGraph/@dArrows.10" dConstraints="/1/@dConstraints.5 /1/@dConstraints.6" location="636 300" size="100 30">
         <node href="RepositoryService.xmi#/1/@graph/@nodes.5"/>
       </dNodes>
-      <dNodes dType="/2/@dGraph/@dNodes.1" dIncomings="/1/@dGraph/@dArrows.10" dConstraints="/1/@dConstraints.0" location="72 48" size="100 30">
+      <dNodes dType="/2/@dGraph/@dNodes.1" dIncomings="/1/@dGraph/@dArrows.11" dConstraints="/1/@dConstraints.0" location="118 12" size="100 30">
         <node href="RepositoryService.xmi#/1/@graph/@nodes.6"/>
       </dNodes>
-      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.0" dTarget="/1/@dGraph/@dNodes.1" dConstraints="/1/@dConstraints.1">
+      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.0" dTarget="/1/@dGraph/@dNodes.1" dConstraints="/1/@dConstraints.9">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.0"/>
-        <nameOffset offset="40 78"/>
-      </dArrows>
-      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.0" dTarget="/1/@dGraph/@dNodes.2" dConstraints="/1/@dConstraints.2">
+        <nameOffset offset="30 63"/>
+      </dArrows>
+      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.0" dTarget="/1/@dGraph/@dNodes.2">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.1"/>
         <nameOffset offset="0 0"/>
@@ -182,114 +206,107 @@
       <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.0" dTarget="/1/@dGraph/@dNodes.3">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.2"/>
-        <nameOffset offset="-5 -131"/>
-      </dArrows>
-      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.4" dConstraints="/1/@dConstraints.3 /1/@dConstraints.9">
+        <nameOffset offset="33 -109"/>
+      </dArrows>
+      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.4" dConstraints="/1/@dConstraints.1 /1/@dConstraints.7">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.3"/>
-        <nameOffset offset="-49 -29"/>
+        <nameOffset offset="-20 -30"/>
       </dArrows>
       <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.3" dTarget="/1/@dGraph/@dNodes.5">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.4"/>
-        <nameOffset offset="0 0"/>
-      </dArrows>
-      <dArrows constraintsTo="/1/@dConstraints.6" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.5" dConstraints="/1/@dConstraints.6">
+        <nameOffset offset="-2 -14"/>
+      </dArrows>
+      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.1" dConstraints="/1/@dConstraints.3">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.5"/>
-        <nameOffset offset="25 -85"/>
-      </dArrows>
-      <dArrows constraintsTo="/1/@dConstraints.7" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.4" dTarget="/1/@dGraph/@dNodes.5" dConstraints="/1/@dConstraints.7">
+        <nameOffset offset="161 24"/>
+      </dArrows>
+      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.3" dTarget="/1/@dGraph/@dNodes.1" dConstraints="/1/@dConstraints.4">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.6"/>
-        <nameOffset offset="134 -21"/>
-      </dArrows>
-      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.1" dConstraints="/1/@dConstraints.5">
+        <bendpoints>508 313</bendpoints>
+        <bendpoints>507 25</bendpoints>
+        <nameOffset offset="87 -20"/>
+      </dArrows>
+      <dArrows constraintsTo="/1/@dConstraints.5" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.5" dConstraints="/1/@dConstraints.5">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.7"/>
-        <nameOffset offset="215 46"/>
-      </dArrows>
-      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.3" dTarget="/1/@dGraph/@dNodes.1" dConstraints="/1/@dConstraints.8">
+        <bendpoints>450 198</bendpoints>
+        <nameOffset offset="-26 -235"/>
+      </dArrows>
+      <dArrows constraintsFrom="/1/@dConstraints.5" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.3" dConstraints="/1/@dConstraints.5">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.8"/>
-        <bendpoints>469 390</bendpoints>
-        <bendpoints>471 59</bendpoints>
-        <nameOffset offset="111 10"/>
-      </dArrows>
-      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.4" dTarget="/1/@dGraph/@dNodes.4" dConstraints="/1/@dConstraints.4">
+        <nameOffset offset="214 -90"/>
+      </dArrows>
+      <dArrows constraintsFrom="/1/@dConstraints.6" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.4" dTarget="/1/@dGraph/@dNodes.3" dConstraints="/1/@dConstraints.6">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.9"/>
-        <bendpoints>719 282</bendpoints>
-        <bendpoints>777 282</bendpoints>
-        <bendpoints>780 189</bendpoints>
-        <bendpoints>709 190</bendpoints>
-        <nameOffset offset="120 9"/>
+        <bendpoints>613 198</bendpoints>
+        <nameOffset offset="55 131"/>
+      </dArrows>
+      <dArrows constraintsTo="/1/@dConstraints.6" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.4" dTarget="/1/@dGraph/@dNodes.5" dConstraints="/1/@dConstraints.6">
+        <arrow href="RepositoryService.xmi#/1/@graph/@arrows.10"/>
+        <nameOffset offset="203 -20"/>
       </dArrows>
       <dArrows dType="/2/@dGraph/@dArrows.0" dSource="/1/@dGraph/@dNodes.0" dTarget="/1/@dGraph/@dNodes.6" dConstraints="/1/@dConstraints.0">
-        <arrow href="RepositoryService.xmi#/1/@graph/@arrows.10"/>
-        <nameOffset offset="151 28"/>
-      </dArrows>
-      <dArrows constraintsFrom="/1/@dConstraints.7" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.4" dTarget="/1/@dGraph/@dNodes.3" dConstraints="/1/@dConstraints.7">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.11"/>
-        <bendpoints>617 296</bendpoints>
-        <nameOffset offset="-1 125"/>
-      </dArrows>
-      <dArrows constraintsFrom="/1/@dConstraints.6" dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.2" dTarget="/1/@dGraph/@dNodes.3" dConstraints="/1/@dConstraints.6">
+        <nameOffset offset="160 45"/>
+      </dArrows>
+      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.4" dTarget="/1/@dGraph/@dNodes.4" dConstraints="/1/@dConstraints.2">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.12"/>
-        <nameOffset offset="174 -68"/>
-      </dArrows>
-      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.3" dTarget="/1/@dGraph/@dNodes.3" dConstraints="/1/@dConstraints.10">
+        <bendpoints>693 186</bendpoints>
+        <bendpoints>750 184</bendpoints>
+        <bendpoints>746 105</bendpoints>
+        <bendpoints>682 106</bendpoints>
+        <nameOffset offset="160 -21"/>
+      </dArrows>
+      <dArrows dType="/2/@dGraph/@dArrows.1" dSource="/1/@dGraph/@dNodes.3" dTarget="/1/@dGraph/@dNodes.3" dConstraints="/1/@dConstraints.8">
         <arrow href="RepositoryService.xmi#/1/@graph/@arrows.13"/>
-        <bendpoints>292 430</bendpoints>
-        <bendpoints>292 496</bendpoints>
-        <bendpoints>369 495</bendpoints>
-        <nameOffset offset="87 122"/>
+        <nameOffset offset="118 73"/>
       </dArrows>
       <graph href="RepositoryService.xmi#/1/@graph"/>
     </dGraph>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.0 /1/@dGraph/@dNodes.6" dArrows="/1/@dGraph/@dArrows.10" source="/1/@dGraph/@dArrows.10">
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.0 /1/@dGraph/@dNodes.6" dArrows="/1/@dGraph/@dArrows.11" source="/1/@dGraph/@dArrows.11">
       <constraint href="RepositoryService.xmi#/1/@constraints.0"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="59 -2"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.0 /1/@dGraph/@dNodes.1" dArrows="/1/@dGraph/@dArrows.0" source="/1/@dGraph/@dArrows.0">
+      <offset offset="63 3"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.4" dArrows="/1/@dGraph/@dArrows.3" source="/1/@dGraph/@dArrows.3">
       <constraint href="RepositoryService.xmi#/1/@constraints.1"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="9 24"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.0 /1/@dGraph/@dNodes.2" dArrows="/1/@dGraph/@dArrows.1" source="/1/@dGraph/@dArrows.1">
+      <offset offset="-7 -12"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.4" dArrows="/1/@dGraph/@dArrows.12" source="/1/@dGraph/@dArrows.12">
       <constraint href="RepositoryService.xmi#/1/@constraints.2"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="2 -34"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.4" dArrows="/1/@dGraph/@dArrows.3" source="/1/@dGraph/@dArrows.3">
+      <offset offset="61 -9"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.1" dArrows="/1/@dGraph/@dArrows.5" source="/1/@dGraph/@dArrows.5">
       <constraint href="RepositoryService.xmi#/1/@constraints.3"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="-2 -9"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.4" dArrows="/1/@dGraph/@dArrows.9" source="/1/@dGraph/@dArrows.9">
+      <offset offset="58 -6"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.3 /1/@dGraph/@dNodes.1" dArrows="/1/@dGraph/@dArrows.6" source="/1/@dGraph/@dArrows.6">
       <constraint href="RepositoryService.xmi#/1/@constraints.4"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="114 12"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.1" dArrows="/1/@dGraph/@dArrows.7" source="/1/@dGraph/@dArrows.7">
+      <offset offset="59 6"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DGenericArrowConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.3 /1/@dGraph/@dNodes.5" dArrows="/1/@dGraph/@dArrows.8 /1/@dGraph/@dArrows.7" source="/1/@dGraph/@dArrows.8" target="/1/@dGraph/@dArrows.7">
       <constraint href="RepositoryService.xmi#/1/@constraints.5"/>
-      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="65 -5"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DGenericArrowConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.3 /1/@dGraph/@dNodes.5" dArrows="/1/@dGraph/@dArrows.12 /1/@dGraph/@dArrows.5" source="/1/@dGraph/@dArrows.12" target="/1/@dGraph/@dArrows.5">
+      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.4"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DGenericArrowConstraint" dNodes="/1/@dGraph/@dNodes.4 /1/@dGraph/@dNodes.3 /1/@dGraph/@dNodes.5" dArrows="/1/@dGraph/@dArrows.9 /1/@dGraph/@dArrows.10" source="/1/@dGraph/@dArrows.9" target="/1/@dGraph/@dArrows.10">
       <constraint href="RepositoryService.xmi#/1/@constraints.6"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.4"/>
     </dConstraints>
-    <dConstraints xsi:type="diagram:DGenericArrowConstraint" dNodes="/1/@dGraph/@dNodes.4 /1/@dGraph/@dNodes.3 /1/@dGraph/@dNodes.5" dArrows="/1/@dGraph/@dArrows.11 /1/@dGraph/@dArrows.6" source="/1/@dGraph/@dArrows.11" target="/1/@dGraph/@dArrows.6">
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.4" dArrows="/1/@dGraph/@dArrows.3" source="/1/@dGraph/@dArrows.3">
       <constraint href="RepositoryService.xmi#/1/@constraints.7"/>
-      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.4"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.3 /1/@dGraph/@dNodes.1" dArrows="/1/@dGraph/@dArrows.8" source="/1/@dGraph/@dArrows.8">
+      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.1"/>
+      <offset offset="1 -48"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.3" dArrows="/1/@dGraph/@dArrows.13" source="/1/@dGraph/@dArrows.13">
       <constraint href="RepositoryService.xmi#/1/@constraints.8"/>
-      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="52 -14"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.2 /1/@dGraph/@dNodes.4" dArrows="/1/@dGraph/@dArrows.3" source="/1/@dGraph/@dArrows.3">
+      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.2"/>
+      <offset offset="55 86"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.0 /1/@dGraph/@dNodes.1" dArrows="/1/@dGraph/@dArrows.0" source="/1/@dGraph/@dArrows.0">
       <constraint href="RepositoryService.xmi#/1/@constraints.9"/>
-      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.1"/>
-      <offset offset="0 -39"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/1/@dGraph/@dNodes.3" dArrows="/1/@dGraph/@dArrows.13" source="/1/@dGraph/@dArrows.13">
-      <constraint href="RepositoryService.xmi#/1/@constraints.10"/>
-      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.2"/>
-      <offset offset="39 -1"/>
+      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
+      <offset offset="15 6"/>
     </dConstraints>
     <specification href="RepositoryService.xmi#/1"/>
@@ -297,17 +314,17 @@
   <diagram:DSpecification gridVisible="false">
     <dGraph>
-      <dNodes dOutgoings="/2/@dGraph/@dArrows.0 /2/@dGraph/@dArrows.1" dIncomings="/2/@dGraph/@dArrows.1" location="247 201" size="100 30">
+      <dNodes dOutgoings="/2/@dGraph/@dArrows.0 /2/@dGraph/@dArrows.1" dIncomings="/2/@dGraph/@dArrows.1" location="246 156" size="100 30">
         <node href="RepositoryService.xmi#/2/@graph/@nodes.0"/>
       </dNodes>
-      <dNodes dIncomings="/2/@dGraph/@dArrows.0" location="468 201" size="100 30">
+      <dNodes dIncomings="/2/@dGraph/@dArrows.0" location="504 156" size="100 30">
         <node href="RepositoryService.xmi#/2/@graph/@nodes.1"/>
       </dNodes>
       <dArrows dSource="/2/@dGraph/@dNodes.0" dTarget="/2/@dGraph/@dNodes.1">
         <arrow href="RepositoryService.xmi#/2/@graph/@arrows.0"/>
-        <nameOffset offset="-13 -6"/>
+        <nameOffset offset="-70 -3"/>
       </dArrows>
       <dArrows dSource="/2/@dGraph/@dNodes.0" dTarget="/2/@dGraph/@dNodes.0">
         <arrow href="RepositoryService.xmi#/2/@graph/@arrows.1"/>
-        <nameOffset offset="29 59"/>
+        <nameOffset offset="31 72"/>
       </dArrows>
       <graph href="RepositoryService.xmi#/2/@graph"/>
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/RepositoryService.xmi
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/RepositoryService.xmi	(revision 883)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/RepositoryService.xmi	(revision 888)
@@ -2,68 +2,73 @@
 <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:core="http://no.hib.dpf.core">
   <core:Specification metaFile="SmodlMetaModel.xmi" type="/1">
-    <graph id="c023e3aa-6018-4a25-a645-ed742de1c493" type="/1/@graph">
-      <nodes id="d53f30b3-56b2-42fa-b195-5a87243d88f4" name="repositoryService" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.0 /0/@graph/@arrows.1 /0/@graph/@arrows.2 /0/@graph/@arrows.3 /0/@graph/@arrows.4 /0/@graph/@arrows.5 /0/@graph/@arrows.6"/>
-      <nodes id="c79542a4-2409-4fa1-97c8-36dca0474e1c" name="loginUser" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.7 /0/@graph/@arrows.10" incomings="/0/@graph/@arrows.1"/>
-      <nodes id="224a1e6f-0f5f-4342-ac67-439b7d10ae62" name="logoffUser" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.13" incomings="/0/@graph/@arrows.2"/>
-      <nodes id="86daa69b-6972-45ba-8512-f1023cb5b690" name="getProfile" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.20" incomings="/0/@graph/@arrows.3"/>
-      <nodes id="0f1975bc-46d3-422e-93ba-fc6f49cfada6" name="updateProfile" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.9 /0/@graph/@arrows.21" incomings="/0/@graph/@arrows.4"/>
-      <nodes id="81d65838-e4bd-45aa-b891-2c4cda4a15b9" name="getCurrentUserName" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.19" incomings="/0/@graph/@arrows.5"/>
-      <nodes id="bbdbafb0-79ef-4b05-b501-c9a945b58493" name="userName" typeNode="/1/@graph/@nodes.4" outgoings="/0/@graph/@arrows.8 /0/@graph/@arrows.11" incomings="/0/@graph/@arrows.7"/>
-      <nodes id="30ecfd9e-6564-44c3-8680-78eba2b10721" name="password" typeNode="/1/@graph/@nodes.4" outgoings="/0/@graph/@arrows.12" incomings="/0/@graph/@arrows.8"/>
-      <nodes id="a53a3823-8b3b-4e4d-859f-ab45de935653" name="userInfo" typeNode="/1/@graph/@nodes.4" outgoings="/0/@graph/@arrows.14" incomings="/0/@graph/@arrows.9"/>
-      <nodes id="c706f706-d244-4ec8-91c9-e5bfddb86848" name="profile" typeNode="/1/@graph/@nodes.3" outgoings="/0/@graph/@arrows.15 /0/@graph/@arrows.16 /0/@graph/@arrows.17 /0/@graph/@arrows.18" incomings="/0/@graph/@arrows.6 /0/@graph/@arrows.14 /0/@graph/@arrows.20"/>
-      <nodes id="5c75245b-9290-4022-b92d-132dc800014d" name="http://smodl.org/v1" typeNode="/1/@graph/@nodes.6" incomings="/0/@graph/@arrows.0"/>
-      <nodes id="66ff27b0-ef61-40e2-9204-e8c10b4522c5" name="string" typeNode="/1/@graph/@nodes.5" incomings="/0/@graph/@arrows.11 /0/@graph/@arrows.12 /0/@graph/@arrows.15 /0/@graph/@arrows.16 /0/@graph/@arrows.17 /0/@graph/@arrows.19"/>
-      <nodes id="43808f04-15ed-49db-bc0d-b506923e397b" name="dateTime" typeNode="/1/@graph/@nodes.5" incomings="/0/@graph/@arrows.18"/>
-      <nodes id="1cdbc98a-34aa-4e8a-b65a-afab0efca8eb" name="bool" typeNode="/1/@graph/@nodes.5" incomings="/0/@graph/@arrows.10 /0/@graph/@arrows.13 /0/@graph/@arrows.21"/>
-      <arrows id="05bfcbab-4d86-41d0-bd4a-023645186512" name="xmlns" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.10" typeArrow="/1/@graph/@arrows.10"/>
-      <arrows id="2782d873-d4ef-4ce3-910c-c8df8c289266" name="login" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.1"/>
-      <arrows id="522a8f7e-dea2-4c95-b051-80febfd9b6d1" name="logoff" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.2" typeArrow="/1/@graph/@arrows.1"/>
-      <arrows id="a66ef9e8-ca1c-4728-b2e7-38f40915f80c" name="getProfileRef" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1"/>
-      <arrows id="250e9d6f-dd1d-4412-821f-e221a0d50f0f" name="update" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.4" typeArrow="/1/@graph/@arrows.1"/>
-      <arrows id="cc6a5fe0-4c80-41dd-a37a-bef164986112" name="getUser" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1"/>
-      <arrows id="42ad8bf7-95b3-4d45-96f8-3dd6a6e1abc6" name="profileRef" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.9" typeArrow="/1/@graph/@arrows.2"/>
-      <arrows id="a518b5fd-d00e-453e-a6dc-3ab59599676f" name="nameArg" source="/0/@graph/@nodes.1" target="/0/@graph/@nodes.6" typeArrow="/1/@graph/@arrows.3"/>
-      <arrows id="ca0f9828-cf36-4c51-a514-84b0f5feae64" name="passwordArg" source="/0/@graph/@nodes.6" target="/0/@graph/@nodes.7" typeArrow="/1/@graph/@arrows.9"/>
-      <arrows id="f89d058a-ce52-42dd-8f36-d7edbe95bf6f" name="InfoArg" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.8" typeArrow="/1/@graph/@arrows.3"/>
-      <arrows id="cb5ddb77-2569-4c1d-a645-0c6af1f63f9e" name="loginRes" source="/0/@graph/@nodes.1" target="/0/@graph/@nodes.13" typeArrow="/1/@graph/@arrows.5"/>
-      <arrows id="eeab8755-6af6-4d88-a7e0-3a6192586ca7" name="nameType" source="/0/@graph/@nodes.6" target="/0/@graph/@nodes.11" typeArrow="/1/@graph/@arrows.6"/>
-      <arrows id="ab56956e-b99a-41f4-855d-56b53b9fd162" name="passwordType" source="/0/@graph/@nodes.7" target="/0/@graph/@nodes.11" typeArrow="/1/@graph/@arrows.6"/>
-      <arrows id="e330690e-3031-4c4b-9cf9-694aa708cd67" name="logoffRes" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.13" typeArrow="/1/@graph/@arrows.5"/>
-      <arrows id="3bc27664-d4a5-46fd-9cd4-b947449da05f" name="infoType" source="/0/@graph/@nodes.8" target="/0/@graph/@nodes.9" typeArrow="/1/@graph/@arrows.11"/>
-      <arrows id="367e40a5-865d-4d70-8678-e9c6ce4002a5" name="UserName" source="/0/@graph/@nodes.9" target="/0/@graph/@nodes.11" typeArrow="/1/@graph/@arrows.4"/>
-      <arrows id="b7cfc3d4-bb53-41cf-b610-0bfae2d77064" name="Password" source="/0/@graph/@nodes.9" target="/0/@graph/@nodes.11" typeArrow="/1/@graph/@arrows.4"/>
-      <arrows id="935af21b-2b64-491d-b068-89bc25d3836b" name="Email" source="/0/@graph/@nodes.9" target="/0/@graph/@nodes.11" typeArrow="/1/@graph/@arrows.4"/>
-      <arrows id="68385b7e-28db-420c-a235-aa5737dc8c56" name="BirthDate" source="/0/@graph/@nodes.9" target="/0/@graph/@nodes.12" typeArrow="/1/@graph/@arrows.4"/>
-      <arrows id="7084e077-1684-4020-a7e9-dbf3c764014b" name="getUserRes" source="/0/@graph/@nodes.5" target="/0/@graph/@nodes.11" typeArrow="/1/@graph/@arrows.5"/>
-      <arrows id="b27f7f76-94c2-4ccc-9d07-a13e14544e7b" name="profileRes" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.9" typeArrow="/1/@graph/@arrows.12"/>
-      <arrows id="595cc7af-a4d6-465e-b356-b445757ee827" name="updateRes" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.13" typeArrow="/1/@graph/@arrows.5"/>
+    <graph id="e1b8c53a-536d-4c88-af30-60e88666f243" type="/1/@graph">
+      <nodes id="bbefd594-07b6-43b0-a8b5-348b952e1055" name="repositoryService" typeNode="/1/@graph/@nodes.0" outgoings="/0/@graph/@arrows.0 /0/@graph/@arrows.1 /0/@graph/@arrows.2 /0/@graph/@arrows.3 /0/@graph/@arrows.4 /0/@graph/@arrows.5 /0/@graph/@arrows.6 /0/@graph/@arrows.23"/>
+      <nodes id="39487d9a-658b-45c1-baa4-cf1705e19ba2" name="http://smodl.org/v1" typeNode="/1/@graph/@nodes.6" incomings="/0/@graph/@arrows.0"/>
+      <nodes id="27199930-4f1c-499b-8b89-65b0899c4931" name="loginUser" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.7 /0/@graph/@arrows.11" incomings="/0/@graph/@arrows.1"/>
+      <nodes id="88e47154-2dc2-42d5-adb4-e990b24ebd85" name="logoffUser" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.12" incomings="/0/@graph/@arrows.2"/>
+      <nodes id="ea94e0d6-c656-4f72-b6a2-5a4be1e568ef" name="createNewUser" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.8 /0/@graph/@arrows.13" incomings="/0/@graph/@arrows.3"/>
+      <nodes id="05d76705-9c86-4d2c-bd0c-3ba8c1b94714" name="getProfile" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.16" incomings="/0/@graph/@arrows.4"/>
+      <nodes id="d1030c7f-1884-465c-8305-d325fc7a14d7" name="updateProfile" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.9 /0/@graph/@arrows.14" incomings="/0/@graph/@arrows.5"/>
+      <nodes id="7b0de51d-ca2c-4206-9dc7-57b1610a436c" name="getCurrentUsername" typeNode="/1/@graph/@nodes.2" outgoings="/0/@graph/@arrows.15" incomings="/0/@graph/@arrows.6"/>
+      <nodes id="026092c2-3299-4892-8f53-41497c6d9a29" name="userName" typeNode="/1/@graph/@nodes.4" outgoings="/0/@graph/@arrows.10 /0/@graph/@arrows.17" incomings="/0/@graph/@arrows.7"/>
+      <nodes id="e2e394a1-e293-48b6-8764-90ef4e2d45b5" name="password" typeNode="/1/@graph/@nodes.4" outgoings="/0/@graph/@arrows.18" incomings="/0/@graph/@arrows.10"/>
+      <nodes id="71256332-24f7-4157-b87f-65a161e0db66" name="userInfo" typeNode="/1/@graph/@nodes.4" incomings="/0/@graph/@arrows.8"/>
+      <nodes id="d0b56e42-b627-4d4d-b93f-b2071fbc5520" name="userInfo" typeNode="/1/@graph/@nodes.4" outgoings="/0/@graph/@arrows.24" incomings="/0/@graph/@arrows.9"/>
+      <nodes id="23e0899a-9f9a-49d6-8cba-7f6c627edea7" name="Profile" typeNode="/1/@graph/@nodes.3" outgoings="/0/@graph/@arrows.19 /0/@graph/@arrows.20 /0/@graph/@arrows.21 /0/@graph/@arrows.22" incomings="/0/@graph/@arrows.16 /0/@graph/@arrows.23 /0/@graph/@arrows.24"/>
+      <nodes id="be0684cb-011f-4229-a5ef-d22321c1f068" name="bool" typeNode="/1/@graph/@nodes.5" incomings="/0/@graph/@arrows.11 /0/@graph/@arrows.12 /0/@graph/@arrows.13 /0/@graph/@arrows.14"/>
+      <nodes id="2d7bd5fd-f454-4f06-a96e-90c98eebe6fb" name="string" typeNode="/1/@graph/@nodes.5" incomings="/0/@graph/@arrows.15 /0/@graph/@arrows.19 /0/@graph/@arrows.20 /0/@graph/@arrows.21 /0/@graph/@arrows.18 /0/@graph/@arrows.17"/>
+      <nodes id="b467a039-48cf-4baf-a0cb-d611aab2ae54" name="dateTime" typeNode="/1/@graph/@nodes.5" incomings="/0/@graph/@arrows.22"/>
+      <arrows id="14074ea1-bde5-4ce1-8b82-9154c4069a64" name="xmlns" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.1" typeArrow="/1/@graph/@arrows.11"/>
+      <arrows id="5bb2b2a6-3f90-4b32-81f0-59645d62da60" name="login" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.2" typeArrow="/1/@graph/@arrows.1"/>
+      <arrows id="e392683d-565b-4fe3-a4c4-0f38c63e53fe" name="logoffuser" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.3" typeArrow="/1/@graph/@arrows.1"/>
+      <arrows id="58685447-41ec-4472-9c46-8d3e404df5f9" name="createuser" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.4" typeArrow="/1/@graph/@arrows.1"/>
+      <arrows id="0f7c5c00-5355-4725-a897-eedfdfa58c5e" name="getprofile" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.5" typeArrow="/1/@graph/@arrows.1"/>
+      <arrows id="9e363730-d9eb-4116-974a-cace6c2dc62c" name="update" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.6" typeArrow="/1/@graph/@arrows.1"/>
+      <arrows id="8b341656-4abf-4e82-9646-c77783a9f757" name="getUser" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.7" typeArrow="/1/@graph/@arrows.1"/>
+      <arrows id="3ff79412-2022-493a-b526-9ad9b4b32fb0" name="nameArg" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.8" typeArrow="/1/@graph/@arrows.3"/>
+      <arrows id="9e16fc2a-fd50-4422-987c-93f1138bbb71" name="userInfoArg" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.10" typeArrow="/1/@graph/@arrows.3"/>
+      <arrows id="deaac6ed-a409-40f3-b796-aa7df4184758" name="infoArg" source="/0/@graph/@nodes.6" target="/0/@graph/@nodes.11" typeArrow="/1/@graph/@arrows.3"/>
+      <arrows id="9fea33ac-ec6c-4c71-892b-61a30de9e53b" name="passwordArg" source="/0/@graph/@nodes.8" target="/0/@graph/@nodes.9" typeArrow="/1/@graph/@arrows.12"/>
+      <arrows id="8d74b668-163e-4562-95f4-8f608c107381" name="loginRes" source="/0/@graph/@nodes.2" target="/0/@graph/@nodes.13" typeArrow="/1/@graph/@arrows.7"/>
+      <arrows id="4fac2615-68ce-4e4b-ad99-2e07b6548b0e" name="logoffRes" source="/0/@graph/@nodes.3" target="/0/@graph/@nodes.13" typeArrow="/1/@graph/@arrows.7"/>
+      <arrows id="d35c3b9a-d283-499c-8731-dc7caf3c63cb" name="createUserRes" source="/0/@graph/@nodes.4" target="/0/@graph/@nodes.13" typeArrow="/1/@graph/@arrows.7"/>
+      <arrows id="a0c4118d-713c-4a49-b0a7-2f18de9c0196" name="updateRes" source="/0/@graph/@nodes.6" target="/0/@graph/@nodes.13" typeArrow="/1/@graph/@arrows.7"/>
+      <arrows id="9b3d6205-bb79-44f0-ac6e-7a709f40ac3d" name="getUserRes" source="/0/@graph/@nodes.7" target="/0/@graph/@nodes.14" typeArrow="/1/@graph/@arrows.7"/>
+      <arrows id="32f83cf7-174d-4efe-b545-fae925eafe71" name="profileRes" source="/0/@graph/@nodes.5" target="/0/@graph/@nodes.12" typeArrow="/1/@graph/@arrows.8"/>
+      <arrows id="338e0b7b-823f-4d80-819f-f2f689c53ad0" name="nameType" source="/0/@graph/@nodes.8" target="/0/@graph/@nodes.14" typeArrow="/1/@graph/@arrows.10"/>
+      <arrows id="2cc4c715-9213-487a-92e6-c2df068f0660" name="passwordType" source="/0/@graph/@nodes.9" target="/0/@graph/@nodes.14" typeArrow="/1/@graph/@arrows.10"/>
+      <arrows id="44fc0149-5abc-4cd6-a55f-cf4af6efd986" name="userName" source="/0/@graph/@nodes.12" target="/0/@graph/@nodes.14" typeArrow="/1/@graph/@arrows.4"/>
+      <arrows id="43bf5764-195d-45e5-92ee-b10c9a7ff9d9" name="password" source="/0/@graph/@nodes.12" target="/0/@graph/@nodes.14" typeArrow="/1/@graph/@arrows.4"/>
+      <arrows id="2989a40f-e86f-4842-84a5-9e2f269eef2e" name="email" source="/0/@graph/@nodes.12" target="/0/@graph/@nodes.14" typeArrow="/1/@graph/@arrows.4"/>
+      <arrows id="969b20c5-ae53-4cd6-9648-b63a12e7f359" name="birthdate" source="/0/@graph/@nodes.12" target="/0/@graph/@nodes.15" typeArrow="/1/@graph/@arrows.4"/>
+      <arrows id="41d59b57-c449-4001-9bec-dcd0d692b31a" name="userProfile" source="/0/@graph/@nodes.0" target="/0/@graph/@nodes.12" typeArrow="/1/@graph/@arrows.2"/>
+      <arrows id="bd907e13-23c7-4976-b4c4-b66c9fa03ee5" name="infoType" source="/0/@graph/@nodes.11" target="/0/@graph/@nodes.12" typeArrow="/1/@graph/@arrows.9"/>
     </graph>
   </core:Specification>
   <core:Specification metaFile="SmodlMetaModel.xmi" type="/2">
-    <graph id="fe0bac48-4d71-47be-bd89-8cc2a59b9f80" type="/2/@graph">
-      <nodes id="35c5ea65-847f-43c6-a665-8156995caa07" name="Service" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.0 /1/@graph/@arrows.1 /1/@graph/@arrows.2 /1/@graph/@arrows.10" constraints="/1/@constraints.0 /1/@constraints.1 /1/@constraints.2"/>
-      <nodes id="57d399b1-4ab6-414e-91a7-c9945da407b4" name="Doc" typeNode="/2/@graph/@nodes.0" incomings="/1/@graph/@arrows.0 /1/@graph/@arrows.7 /1/@graph/@arrows.8" constraints="/1/@constraints.1 /1/@constraints.5 /1/@constraints.8"/>
-      <nodes id="1e2be760-b782-42ee-a67a-8b6c5856a25b" name="Method" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.3 /1/@graph/@arrows.5 /1/@graph/@arrows.7 /1/@graph/@arrows.12" incomings="/1/@graph/@arrows.1" constraints="/1/@constraints.2 /1/@constraints.3 /1/@constraints.5 /1/@constraints.6 /1/@constraints.9"/>
-      <nodes id="e6459c3a-8478-4fd6-965e-bf9114799a43" name="Struct" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.4 /1/@graph/@arrows.8 /1/@graph/@arrows.13" incomings="/1/@graph/@arrows.2 /1/@graph/@arrows.11 /1/@graph/@arrows.12 /1/@graph/@arrows.13" constraints="/1/@constraints.6 /1/@constraints.7 /1/@constraints.8 /1/@constraints.10"/>
-      <nodes id="5843d642-5fea-47ae-851d-a3e4b416ec7a" name="Arg" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.6 /1/@graph/@arrows.9 /1/@graph/@arrows.11" incomings="/1/@graph/@arrows.3 /1/@graph/@arrows.9" constraints="/1/@constraints.3 /1/@constraints.4 /1/@constraints.7 /1/@constraints.9"/>
-      <nodes id="965829cf-4f4b-49d6-a84e-c574751922fa" name="SimpleType" typeNode="/2/@graph/@nodes.0" incomings="/1/@graph/@arrows.4 /1/@graph/@arrows.5 /1/@graph/@arrows.6" constraints="/1/@constraints.6 /1/@constraints.7"/>
-      <nodes id="82255ff9-0fdf-4a73-9755-d6cd298b5b4c" name="target" typeNode="/2/@graph/@nodes.1" incomings="/1/@graph/@arrows.10" constraints="/1/@constraints.0"/>
-      <arrows id="8b9dc8e2-fcf0-450c-bff1-8bc438981542" name="serviceDoc" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.1" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.1"/>
-      <arrows id="98a98dc5-81a0-454a-9626-15b5eec9f0ce" name="methodRef" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.2" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.2"/>
-      <arrows id="e1f9469d-3d87-49e1-a463-5e70af85e1e1" name="structRef" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1"/>
-      <arrows id="3ed25152-c46b-4774-b90e-dd1a0c1f40b9" name="firstArg" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.4" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.3 /1/@constraints.9"/>
-      <arrows id="f3ca0170-91a5-4253-aba2-411681417783" name="fieldRef" source="/1/@graph/@nodes.3" target="/1/@graph/@nodes.5" typeArrow="/2/@graph/@arrows.1"/>
-      <arrows id="87dfab12-ce45-4d2b-8fa8-11f4c84bc2b4" name="simpleResult" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.5" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.6"/>
-      <arrows id="c3cee71d-1693-414e-a426-4d1dd536fb45" name="argType" source="/1/@graph/@nodes.4" target="/1/@graph/@nodes.5" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.7"/>
-      <arrows id="854154bb-137e-4d29-8b32-efe176c623e4" name="methodDoc" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.1" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.5"/>
-      <arrows id="fec33862-3f30-4107-9c98-0e473c066808" name="structDoc" source="/1/@graph/@nodes.3" target="/1/@graph/@nodes.1" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.8"/>
-      <arrows id="4ce17f5a-c50e-48b3-9280-081bfe4d97f5" name="nextArg" source="/1/@graph/@nodes.4" target="/1/@graph/@nodes.4" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.4"/>
-      <arrows id="d96c1fd1-9b2a-4005-9654-5f817046f50e" name="targetRef" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.6" typeArrow="/2/@graph/@arrows.0" constraints="/1/@constraints.0"/>
-      <arrows id="da3a7dca-8855-4d2b-ad8c-a7716a86c73f" name="argStruct" source="/1/@graph/@nodes.4" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.7"/>
-      <arrows id="7862b53e-c9e0-4930-b93e-a67e2317adf2" name="structResult" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.6"/>
-      <arrows id="2f26a50c-68ed-4821-b3c1-2f4efab60e62" name="extends" source="/1/@graph/@nodes.3" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.10"/>
+    <graph id="666677fa-d662-4a4c-b27f-08a1fa402130" type="/2/@graph">
+      <nodes id="c64a7a88-892a-4529-b1b2-53dd29153975" name="Service" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.0 /1/@graph/@arrows.1 /1/@graph/@arrows.2 /1/@graph/@arrows.11" constraints="/1/@constraints.0 /1/@constraints.9"/>
+      <nodes id="757dc011-2eda-434d-a4d6-9d7fae009948" name="Doc" typeNode="/2/@graph/@nodes.0" incomings="/1/@graph/@arrows.0 /1/@graph/@arrows.5 /1/@graph/@arrows.6" constraints="/1/@constraints.3 /1/@constraints.4 /1/@constraints.9"/>
+      <nodes id="b94328f0-f58b-4292-bffb-5e935715eab6" name="Method" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.3 /1/@graph/@arrows.5 /1/@graph/@arrows.7 /1/@graph/@arrows.8" incomings="/1/@graph/@arrows.1" constraints="/1/@constraints.1 /1/@constraints.3 /1/@constraints.5 /1/@constraints.7"/>
+      <nodes id="800259a1-612b-4d0a-ae32-4c7d92885a72" name="Struct" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.4 /1/@graph/@arrows.6 /1/@graph/@arrows.13" incomings="/1/@graph/@arrows.2 /1/@graph/@arrows.8 /1/@graph/@arrows.9 /1/@graph/@arrows.13" constraints="/1/@constraints.4 /1/@constraints.5 /1/@constraints.6 /1/@constraints.8"/>
+      <nodes id="c57b1492-1c52-436f-95d2-af02862bf40b" name="Arg" typeNode="/2/@graph/@nodes.0" outgoings="/1/@graph/@arrows.9 /1/@graph/@arrows.10 /1/@graph/@arrows.12" incomings="/1/@graph/@arrows.3 /1/@graph/@arrows.12" constraints="/1/@constraints.1 /1/@constraints.2 /1/@constraints.6 /1/@constraints.7"/>
+      <nodes id="47e326d7-483d-4a59-ad2a-5672ad924e80" name="SimpleType" typeNode="/2/@graph/@nodes.0" incomings="/1/@graph/@arrows.4 /1/@graph/@arrows.7 /1/@graph/@arrows.10" constraints="/1/@constraints.5 /1/@constraints.6"/>
+      <nodes id="e989229e-40c0-4729-8ab4-129edb389a1b" name="target" typeNode="/2/@graph/@nodes.1" incomings="/1/@graph/@arrows.11" constraints="/1/@constraints.0"/>
+      <arrows id="e453dc90-9164-49d2-8e87-e39feb6e3d81" name="serviceDoc" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.1" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.9"/>
+      <arrows id="6a3dfde5-24bb-455f-b74f-2d653b927e38" name="methodRef" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.2" typeArrow="/2/@graph/@arrows.1"/>
+      <arrows id="be0b7b98-8fb4-4b98-9ccd-187063a35196" name="structRef" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1"/>
+      <arrows id="fa43f9fc-1138-40c4-933b-85fceac9dbc4" name="firstArg" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.4" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.1 /1/@constraints.7"/>
+      <arrows id="9dbef9c4-b0e4-464b-aa6d-7c7946cac44b" name="fieldRef" source="/1/@graph/@nodes.3" target="/1/@graph/@nodes.5" typeArrow="/2/@graph/@arrows.1"/>
+      <arrows id="22bde228-81d3-4287-9f6b-dff5681b1899" name="methodDoc" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.1" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.3"/>
+      <arrows id="2be6d53a-d4d2-4d73-8ba5-b278e82f8db8" name="structDoc" source="/1/@graph/@nodes.3" target="/1/@graph/@nodes.1" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.4"/>
+      <arrows id="1596f5e0-4952-40d5-a012-ba70054585ea" name="simpleResult" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.5" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.5"/>
+      <arrows id="d08c7370-6633-4b1d-98dc-838e16e22137" name="structResult" source="/1/@graph/@nodes.2" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.5"/>
+      <arrows id="6b2ee854-3c9e-4afd-9cad-23b299cb0c4d" name="argStruct" source="/1/@graph/@nodes.4" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.6"/>
+      <arrows id="87fcde3c-c299-4466-889c-9ff59ac9e063" name="argType" source="/1/@graph/@nodes.4" target="/1/@graph/@nodes.5" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.6"/>
+      <arrows id="e88b0e34-fb43-478b-b893-8c5985fe5e8a" name="targetRef" source="/1/@graph/@nodes.0" target="/1/@graph/@nodes.6" typeArrow="/2/@graph/@arrows.0" constraints="/1/@constraints.0"/>
+      <arrows id="541f4a01-0594-4b09-9259-09de3b1d3feb" name="nextArg" source="/1/@graph/@nodes.4" target="/1/@graph/@nodes.4" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.2"/>
+      <arrows id="e7ddde53-673d-401d-831e-9bac9e0000b7" name="extends" source="/1/@graph/@nodes.3" target="/1/@graph/@nodes.3" typeArrow="/2/@graph/@arrows.1" constraints="/1/@constraints.8"/>
     </graph>
-    <constraints id="c81e279b-ae92-4aff-bb61-3dfc4bd1b585" nodes="/1/@graph/@nodes.0 /1/@graph/@nodes.6" arrows="/1/@graph/@arrows.10" parameters="min:1;max:1">
+    <constraints id="456938f0-3001-4391-b2db-507209499960" nodes="/1/@graph/@nodes.0 /1/@graph/@nodes.6" arrows="/1/@graph/@arrows.11" parameters="min:1;max:1">
       <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
       <mappings>
@@ -74,13 +79,41 @@
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
         </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.10">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="13d54f27-1c09-4f81-85f7-3f6311b1946a" nodes="/1/@graph/@nodes.0 /1/@graph/@nodes.1" arrows="/1/@graph/@arrows.0" parameters="min:0;max:1">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/1/@graph/@nodes.0">
+        <arrowMapping value="/1/@graph/@arrows.11">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
+        </arrowMapping>
+      </mappings>
+    </constraints>
+    <constraints id="80fe6300-667f-43dd-938f-d31c1ad6085b" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.4" arrows="/1/@graph/@arrows.3" parameters="min:0;max:1">
+      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
+      <mappings>
+        <nodeMapping value="/1/@graph/@nodes.2">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
+        </nodeMapping>
+        <nodeMapping value="/1/@graph/@nodes.4">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
+        </nodeMapping>
+        <arrowMapping value="/1/@graph/@arrows.3">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
+        </arrowMapping>
+      </mappings>
+    </constraints>
+    <constraints id="744dbf61-c156-4cf7-a0a7-5f5f0909de1f" nodes="/1/@graph/@nodes.4" arrows="/1/@graph/@arrows.12" parameters="min:0;max:1">
+      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
+      <mappings>
+        <nodeMapping value="/1/@graph/@nodes.4">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
+        </nodeMapping>
+        <nodeMapping value="/1/@graph/@nodes.4">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
+        </nodeMapping>
+        <arrowMapping value="/1/@graph/@arrows.12">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
+        </arrowMapping>
+      </mappings>
+    </constraints>
+    <constraints id="9a761262-1d34-480d-be8d-e5b412bff045" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.1" arrows="/1/@graph/@arrows.5" parameters="min:0;max:1">
+      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
+      <mappings>
+        <nodeMapping value="/1/@graph/@nodes.2">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
         </nodeMapping>
@@ -88,55 +121,13 @@
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
         </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.0">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="47edfc5a-4038-494a-8003-2cbb4e6a5776" nodes="/1/@graph/@nodes.0 /1/@graph/@nodes.2" arrows="/1/@graph/@arrows.1" parameters="min:1;max:-1">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/1/@graph/@nodes.0">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/1/@graph/@nodes.2">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
-        </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.1">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="002c1539-61a1-4616-b998-cab8f82ea88e" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.4" arrows="/1/@graph/@arrows.3" parameters="min:0;max:1">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/1/@graph/@nodes.2">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/1/@graph/@nodes.4">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
-        </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.3">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="4f8ec337-8aee-4c31-8a80-ea3338ce53b2" nodes="/1/@graph/@nodes.4" arrows="/1/@graph/@arrows.9" parameters="min:0;max:1">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/1/@graph/@nodes.4">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/1/@graph/@nodes.4">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
-        </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.9">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="ff1a90ef-e8c6-46b7-8f92-f1ea9736a767" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.1" arrows="/1/@graph/@arrows.7" parameters="min:0;max:1">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/1/@graph/@nodes.2">
+        <arrowMapping value="/1/@graph/@arrows.5">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
+        </arrowMapping>
+      </mappings>
+    </constraints>
+    <constraints id="5a399e2a-0e11-4325-af64-d04f38777ac1" nodes="/1/@graph/@nodes.3 /1/@graph/@nodes.1" arrows="/1/@graph/@arrows.6" parameters="min:0;max:1">
+      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
+      <mappings>
+        <nodeMapping value="/1/@graph/@nodes.3">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
         </nodeMapping>
@@ -144,64 +135,50 @@
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
         </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.7">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="2e2fb493-1e6b-416b-8d68-39bbb9031cd8" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.3 /1/@graph/@nodes.5" arrows="/1/@graph/@arrows.12 /1/@graph/@arrows.5">
+        <arrowMapping value="/1/@graph/@arrows.6">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
+        </arrowMapping>
+      </mappings>
+    </constraints>
+    <constraints id="3a36d90a-563f-462b-8908-d9dbbaa57271" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.3 /1/@graph/@nodes.5" arrows="/1/@graph/@arrows.8 /1/@graph/@arrows.7">
       <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4"/>
       <mappings>
-        <nodeMapping value="/1/@graph/@nodes.3">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/1/@graph/@nodes.2">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.2"/>
-        </nodeMapping>
         <nodeMapping value="/1/@graph/@nodes.5">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.1"/>
         </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.12">
+        <nodeMapping value="/1/@graph/@nodes.3">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.0"/>
+        </nodeMapping>
+        <nodeMapping value="/1/@graph/@nodes.2">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.2"/>
+        </nodeMapping>
+        <arrowMapping value="/1/@graph/@arrows.8">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@arrows.0"/>
         </arrowMapping>
-        <arrowMapping value="/1/@graph/@arrows.5">
+        <arrowMapping value="/1/@graph/@arrows.7">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@arrows.1"/>
         </arrowMapping>
       </mappings>
     </constraints>
-    <constraints id="ccc17059-b3c0-4428-8062-d1d434a83182" nodes="/1/@graph/@nodes.4 /1/@graph/@nodes.3 /1/@graph/@nodes.5" arrows="/1/@graph/@arrows.11 /1/@graph/@arrows.6">
+    <constraints id="a00fccbf-f9cb-4d5c-8fa1-9102cef700d8" nodes="/1/@graph/@nodes.4 /1/@graph/@nodes.3 /1/@graph/@nodes.5" arrows="/1/@graph/@arrows.9 /1/@graph/@arrows.10">
       <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4"/>
       <mappings>
-        <nodeMapping value="/1/@graph/@nodes.3">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/1/@graph/@nodes.4">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.2"/>
-        </nodeMapping>
         <nodeMapping value="/1/@graph/@nodes.5">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.1"/>
         </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.11">
+        <nodeMapping value="/1/@graph/@nodes.3">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.0"/>
+        </nodeMapping>
+        <nodeMapping value="/1/@graph/@nodes.4">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@nodes.2"/>
+        </nodeMapping>
+        <arrowMapping value="/1/@graph/@arrows.9">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@arrows.0"/>
         </arrowMapping>
-        <arrowMapping value="/1/@graph/@arrows.6">
+        <arrowMapping value="/1/@graph/@arrows.10">
           <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.4/@shape/@arrows.1"/>
         </arrowMapping>
       </mappings>
     </constraints>
-    <constraints id="50f8ecba-0123-46ef-afd3-1dca91fc9816" nodes="/1/@graph/@nodes.3 /1/@graph/@nodes.1" arrows="/1/@graph/@arrows.8" parameters="min:0;max:1">
-      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
-      <mappings>
-        <nodeMapping value="/1/@graph/@nodes.3">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
-        </nodeMapping>
-        <nodeMapping value="/1/@graph/@nodes.1">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
-        </nodeMapping>
-        <arrowMapping value="/1/@graph/@arrows.8">
-          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
-        </arrowMapping>
-      </mappings>
-    </constraints>
-    <constraints id="888adb71-0a3e-440d-91df-03dcdcf4baa1" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.4" arrows="/1/@graph/@arrows.3">
+    <constraints id="8d020253-1ab9-4221-a9a4-5e98d62954d7" nodes="/1/@graph/@nodes.2 /1/@graph/@nodes.4" arrows="/1/@graph/@arrows.3">
       <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.1"/>
       <mappings>
@@ -217,5 +194,5 @@
       </mappings>
     </constraints>
-    <constraints id="fde78909-11f9-4859-bec4-f664eff832e7" nodes="/1/@graph/@nodes.3" arrows="/1/@graph/@arrows.13">
+    <constraints id="b8e76a16-e798-4f18-be93-3ecaf74094db" nodes="/1/@graph/@nodes.3" arrows="/1/@graph/@arrows.13">
       <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.2"/>
       <mappings>
@@ -228,11 +205,25 @@
       </mappings>
     </constraints>
+    <constraints id="a8898f12-180c-4322-b81a-3ce627a6ef2e" nodes="/1/@graph/@nodes.0 /1/@graph/@nodes.1" arrows="/1/@graph/@arrows.0" parameters="min:1;max:0">
+      <predicate href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3"/>
+      <mappings>
+        <nodeMapping value="/1/@graph/@nodes.0">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.0"/>
+        </nodeMapping>
+        <nodeMapping value="/1/@graph/@nodes.1">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@nodes.1"/>
+        </nodeMapping>
+        <arrowMapping value="/1/@graph/@arrows.0">
+          <key href="platform:/resource/DefaultSpecification.xmi#/1/@predicates.3/@shape/@arrows.0"/>
+        </arrowMapping>
+      </mappings>
+    </constraints>
   </core:Specification>
   <core:Specification>
-    <graph id="e7193702-225a-4fa1-8dc1-bd733bd4f0a1">
-      <nodes id="9db7923d-d886-4e14-96ae-e5d5aa4371fd" name="Class" outgoings="/2/@graph/@arrows.0 /2/@graph/@arrows.1" incomings="/2/@graph/@arrows.1"/>
-      <nodes id="09a7a1f7-d1ac-4470-9c9b-728536f10b56" name="DataType" incomings="/2/@graph/@arrows.0"/>
-      <arrows id="ad89aec3-49b4-4ca8-b868-52f787cf4348" name="Attribute" source="/2/@graph/@nodes.0" target="/2/@graph/@nodes.1"/>
-      <arrows id="5c9c9fdd-4167-4e02-969f-df9fa38d3e8c" name="Reference" source="/2/@graph/@nodes.0" target="/2/@graph/@nodes.0"/>
+    <graph id="bdc597a6-1f8e-40d4-9df3-89b5a061b256">
+      <nodes id="53382a09-f59e-48e8-b401-faa3839f80af" name="Class" outgoings="/2/@graph/@arrows.0 /2/@graph/@arrows.1" incomings="/2/@graph/@arrows.1"/>
+      <nodes id="ad4dd5bd-26e6-4446-9c91-0921a5b7dbe1" name="DataType" incomings="/2/@graph/@arrows.0"/>
+      <arrows id="9c2af696-b54d-4f30-b40f-8b52024aac7a" name="Attribute" source="/2/@graph/@nodes.0" target="/2/@graph/@nodes.1"/>
+      <arrows id="d2daeb1d-d4a1-4cea-a89e-528781322233" name="Reference" source="/2/@graph/@nodes.0" target="/2/@graph/@nodes.0"/>
     </graph>
   </core:Specification>
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.dpf
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.dpf	(revision 886)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.dpf	(revision 888)
@@ -3,20 +3,20 @@
   <diagram:DSpecification dType="/1" gridVisible="false" metaFile="SmodlMetametaModel.dpf">
     <dGraph dType="/1/@dGraph">
-      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.0 /0/@dGraph/@dArrows.1 /0/@dGraph/@dArrows.2 /0/@dGraph/@dArrows.11" dConstraints="/0/@dConstraints.0 /0/@dConstraints.1 /0/@dConstraints.2" location="118 144" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.0 /0/@dGraph/@dArrows.1 /0/@dGraph/@dArrows.2 /0/@dGraph/@dArrows.11" dConstraints="/0/@dConstraints.0 /0/@dConstraints.9" location="118 144" size="100 30">
         <node href="SmodlMetaModel.xmi#/0/@graph/@nodes.0"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.0" dIncomings="/0/@dGraph/@dArrows.0 /0/@dGraph/@dArrows.5 /0/@dGraph/@dArrows.6" dConstraints="/0/@dConstraints.1 /0/@dConstraints.5 /0/@dConstraints.6" location="336 12" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.0" dIncomings="/0/@dGraph/@dArrows.0 /0/@dGraph/@dArrows.5 /0/@dGraph/@dArrows.6" dConstraints="/0/@dConstraints.3 /0/@dConstraints.4 /0/@dConstraints.9" location="336 12" size="100 30">
         <node href="SmodlMetaModel.xmi#/0/@graph/@nodes.1"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.3 /0/@dGraph/@dArrows.5 /0/@dGraph/@dArrows.7 /0/@dGraph/@dArrows.8" dIncomings="/0/@dGraph/@dArrows.1" dConstraints="/0/@dConstraints.2 /0/@dConstraints.3 /0/@dConstraints.5 /0/@dConstraints.7 /0/@dConstraints.9" location="336 144" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.3 /0/@dGraph/@dArrows.5 /0/@dGraph/@dArrows.7 /0/@dGraph/@dArrows.8" dIncomings="/0/@dGraph/@dArrows.1" dConstraints="/0/@dConstraints.1 /0/@dConstraints.3 /0/@dConstraints.5 /0/@dConstraints.7" location="336 144" size="100 30">
         <node href="SmodlMetaModel.xmi#/0/@graph/@nodes.2"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.4 /0/@dGraph/@dArrows.6 /0/@dGraph/@dArrows.13" dIncomings="/0/@dGraph/@dArrows.2 /0/@dGraph/@dArrows.8 /0/@dGraph/@dArrows.9 /0/@dGraph/@dArrows.13" dConstraints="/0/@dConstraints.6 /0/@dConstraints.7 /0/@dConstraints.8 /0/@dConstraints.10" location="336 300" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.4 /0/@dGraph/@dArrows.6 /0/@dGraph/@dArrows.13" dIncomings="/0/@dGraph/@dArrows.2 /0/@dGraph/@dArrows.8 /0/@dGraph/@dArrows.9 /0/@dGraph/@dArrows.13" dConstraints="/0/@dConstraints.4 /0/@dConstraints.5 /0/@dConstraints.6 /0/@dConstraints.8" location="336 300" size="100 30">
         <node href="SmodlMetaModel.xmi#/0/@graph/@nodes.3"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.9 /0/@dGraph/@dArrows.10 /0/@dGraph/@dArrows.12" dIncomings="/0/@dGraph/@dArrows.3 /0/@dGraph/@dArrows.12" dConstraints="/0/@dConstraints.3 /0/@dConstraints.4 /0/@dConstraints.8 /0/@dConstraints.9" location="636 144" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.0" dOutgoings="/0/@dGraph/@dArrows.9 /0/@dGraph/@dArrows.10 /0/@dGraph/@dArrows.12" dIncomings="/0/@dGraph/@dArrows.3 /0/@dGraph/@dArrows.12" dConstraints="/0/@dConstraints.1 /0/@dConstraints.2 /0/@dConstraints.6 /0/@dConstraints.7" location="636 144" size="100 30">
         <node href="SmodlMetaModel.xmi#/0/@graph/@nodes.4"/>
       </dNodes>
-      <dNodes dType="/1/@dGraph/@dNodes.0" dIncomings="/0/@dGraph/@dArrows.4 /0/@dGraph/@dArrows.7 /0/@dGraph/@dArrows.10" dConstraints="/0/@dConstraints.7 /0/@dConstraints.8" location="636 300" size="100 30">
+      <dNodes dType="/1/@dGraph/@dNodes.0" dIncomings="/0/@dGraph/@dArrows.4 /0/@dGraph/@dArrows.7 /0/@dGraph/@dArrows.10" dConstraints="/0/@dConstraints.5 /0/@dConstraints.6" location="636 300" size="100 30">
         <node href="SmodlMetaModel.xmi#/0/@graph/@nodes.5"/>
       </dNodes>
@@ -24,9 +24,9 @@
         <node href="SmodlMetaModel.xmi#/0/@graph/@nodes.6"/>
       </dNodes>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.1" dConstraints="/0/@dConstraints.1">
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.1" dConstraints="/0/@dConstraints.9">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.0"/>
         <nameOffset offset="30 63"/>
       </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.2" dConstraints="/0/@dConstraints.2">
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.0" dTarget="/0/@dGraph/@dNodes.2">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.1"/>
         <nameOffset offset="0 0"/>
@@ -36,5 +36,5 @@
         <nameOffset offset="33 -109"/>
       </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.4" dConstraints="/0/@dConstraints.3 /0/@dConstraints.9">
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.4" dConstraints="/0/@dConstraints.1 /0/@dConstraints.7">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.3"/>
         <nameOffset offset="-20 -30"/>
@@ -44,9 +44,9 @@
         <nameOffset offset="-2 -14"/>
       </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.1" dConstraints="/0/@dConstraints.5">
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.1" dConstraints="/0/@dConstraints.3">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.5"/>
         <nameOffset offset="161 24"/>
       </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.3" dTarget="/0/@dGraph/@dNodes.1" dConstraints="/0/@dConstraints.6">
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.3" dTarget="/0/@dGraph/@dNodes.1" dConstraints="/0/@dConstraints.4">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.6"/>
         <bendpoints>508 313</bendpoints>
@@ -54,19 +54,19 @@
         <nameOffset offset="87 -20"/>
       </dArrows>
-      <dArrows constraintsTo="/0/@dConstraints.7" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.5" dConstraints="/0/@dConstraints.7">
+      <dArrows constraintsTo="/0/@dConstraints.5" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.5" dConstraints="/0/@dConstraints.5">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.7"/>
         <bendpoints>450 198</bendpoints>
         <nameOffset offset="-26 -235"/>
       </dArrows>
-      <dArrows constraintsFrom="/0/@dConstraints.7" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.3" dConstraints="/0/@dConstraints.7">
+      <dArrows constraintsFrom="/0/@dConstraints.5" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.2" dTarget="/0/@dGraph/@dNodes.3" dConstraints="/0/@dConstraints.5">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.8"/>
         <nameOffset offset="214 -90"/>
       </dArrows>
-      <dArrows constraintsFrom="/0/@dConstraints.8" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.3" dConstraints="/0/@dConstraints.8">
+      <dArrows constraintsFrom="/0/@dConstraints.6" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.3" dConstraints="/0/@dConstraints.6">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.9"/>
         <bendpoints>613 198</bendpoints>
         <nameOffset offset="55 131"/>
       </dArrows>
-      <dArrows constraintsTo="/0/@dConstraints.8" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.5" dConstraints="/0/@dConstraints.8">
+      <dArrows constraintsTo="/0/@dConstraints.6" dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.5" dConstraints="/0/@dConstraints.6">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.10"/>
         <nameOffset offset="203 -20"/>
@@ -76,5 +76,5 @@
         <nameOffset offset="160 45"/>
       </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.4" dConstraints="/0/@dConstraints.4">
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.4" dTarget="/0/@dGraph/@dNodes.4" dConstraints="/0/@dConstraints.2">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.12"/>
         <bendpoints>693 186</bendpoints>
@@ -84,5 +84,5 @@
         <nameOffset offset="160 -21"/>
       </dArrows>
-      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.3" dTarget="/0/@dGraph/@dNodes.3" dConstraints="/0/@dConstraints.10">
+      <dArrows dType="/1/@dGraph/@dArrows.1" dSource="/0/@dGraph/@dNodes.3" dTarget="/0/@dGraph/@dNodes.3" dConstraints="/0/@dConstraints.8">
         <arrow href="SmodlMetaModel.xmi#/0/@graph/@arrows.13"/>
         <nameOffset offset="118 73"/>
@@ -95,51 +95,46 @@
       <offset offset="63 3"/>
     </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.0 /0/@dGraph/@dNodes.1" dArrows="/0/@dGraph/@dArrows.0" source="/0/@dGraph/@dArrows.0">
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.2 /0/@dGraph/@dNodes.4" dArrows="/0/@dGraph/@dArrows.3" source="/0/@dGraph/@dArrows.3">
       <constraint href="SmodlMetaModel.xmi#/0/@constraints.1"/>
-      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="15 6"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.0 /0/@dGraph/@dNodes.2" dArrows="/0/@dGraph/@dArrows.1" source="/0/@dGraph/@dArrows.1">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.2"/>
-      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
-      <offset offset="-5 -39"/>
-    </dConstraints>
-    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.2 /0/@dGraph/@dNodes.4" dArrows="/0/@dGraph/@dArrows.3" source="/0/@dGraph/@dArrows.3">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.3"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
       <offset offset="-7 -12"/>
     </dConstraints>
     <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.4" dArrows="/0/@dGraph/@dArrows.12" source="/0/@dGraph/@dArrows.12">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.4"/>
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.2"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
       <offset offset="61 -9"/>
     </dConstraints>
     <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.2 /0/@dGraph/@dNodes.1" dArrows="/0/@dGraph/@dArrows.5" source="/0/@dGraph/@dArrows.5">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.5"/>
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.3"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
       <offset offset="58 -6"/>
     </dConstraints>
     <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.3 /0/@dGraph/@dNodes.1" dArrows="/0/@dGraph/@dArrows.6" source="/0/@dGraph/@dArrows.6">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.6"/>
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.4"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
       <offset offset="59 6"/>
     </dConstraints>
     <dConstraints xsi:type="diagram:DGenericArrowConstraint" dNodes="/0/@dGraph/@dNodes.2 /0/@dGraph/@dNodes.3 /0/@dGraph/@dNodes.5" dArrows="/0/@dGraph/@dArrows.8 /0/@dGraph/@dArrows.7" source="/0/@dGraph/@dArrows.8" target="/0/@dGraph/@dArrows.7">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.7"/>
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.5"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.4"/>
     </dConstraints>
     <dConstraints xsi:type="diagram:DGenericArrowConstraint" dNodes="/0/@dGraph/@dNodes.4 /0/@dGraph/@dNodes.3 /0/@dGraph/@dNodes.5" dArrows="/0/@dGraph/@dArrows.9 /0/@dGraph/@dArrows.10" source="/0/@dGraph/@dArrows.9" target="/0/@dGraph/@dArrows.10">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.8"/>
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.6"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.4"/>
     </dConstraints>
     <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.2 /0/@dGraph/@dNodes.4" dArrows="/0/@dGraph/@dArrows.3" source="/0/@dGraph/@dArrows.3">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.9"/>
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.7"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.1"/>
       <offset offset="1 -48"/>
     </dConstraints>
     <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.3" dArrows="/0/@dGraph/@dArrows.13" source="/0/@dGraph/@dArrows.13">
-      <constraint href="SmodlMetaModel.xmi#/0/@constraints.10"/>
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.8"/>
       <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.2"/>
       <offset offset="55 86"/>
+    </dConstraints>
+    <dConstraints xsi:type="diagram:DArrowLabelConstraint" dNodes="/0/@dGraph/@dNodes.0 /0/@dGraph/@dNodes.1" dArrows="/0/@dGraph/@dArrows.0" source="/0/@dGraph/@dArrows.0">
+      <constraint href="SmodlMetaModel.xmi#/0/@constraints.9"/>
+      <dPredicate href="platform:/resource/DefaultDSpecification.dpf#/1/@dPredicates.3"/>
+      <offset offset="15 6"/>
     </dConstraints>
     <specification href="SmodlMetaModel.xmi#/0"/>
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.project
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.project	(revision 883)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.project	(revision 888)
@@ -6,7 +6,30 @@
 	</projects>
 	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.xtend.shared.ui.xtendBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
 	</buildSpec>
 	<natures>
-		<nature>no.hib.dpf.api.wizards.projectwizard.dpfprojectnature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.xtend.shared.ui.xtendXPandNature</nature>
+		<nature>no.hib.dpf.codegen.xpand.ui.nature.dpfmetamodelnature</nature>
 	</natures>
 </projectDescription>
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/workflow/workflow.mwe
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/workflow/workflow.mwe	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/workflow/workflow.mwe	(revision 888)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><workflow>
+	<!-- workflow properties -->
+	<property name="dpf_model" value="platform:/resource/no.hib.dpf.examples.smodl/specifications/RepositoryService.xmi"/>
+	<property name="dpf_metamodel" value="platform:/resource/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.xmi"/>
+	
+	<property name="src-gen" value="src-gen"/>
+	
+	<!-- set up EMF, only needed when using URI's -->	
+	<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup">
+		<platformUri value=".."/>
+	</bean>
+	
+	<!-- instantiate metamodel-->
+	<bean class="no.hib.dpf.codegen.xpand.metamodel.DpfMetamodel" id="mm_dpf"/>
+	
+	<!-- DPF component -->
+	<component class="no.hib.dpf.codegen.xpand.metamodel.workflow.DpfReader">
+		<dpfMetaModel value="${dpf_metamodel}"/>
+		<dpfModel value="${dpf_model}"/>
+		
+		<metaModel idRef="mm_dpf"/>
+		<modelSlot value="dpf"/>
+	</component>
+	
+	<!--  generate code -->
+	<component class="org.eclipse.xpand2.Generator">
+		<metaModel idRef="mm_dpf"/>
+		<expand value="template::Smodl::main FOR dpf"/>
+		<outlet path="${src-gen}">
+			<!--<postprocessor class="org.eclipse.xpand2.output.JavaBeautifier"/>-->
+			<postprocessor class="org.eclipse.xtend.typesystem.xsd.XMLBeautifier">
+				<maxLineWidth value="120" />
+				<formatComments value="true" />
+				<fileExtensions value=".xml"/>
+			</postprocessor>
+		</outlet>
+	</component>
+</workflow>
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/template/Smodl.xpt
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/template/Smodl.xpt	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/template/Smodl.xpt	(revision 888)
@@ -0,0 +1,72 @@
+«IMPORT dpf»
+
+«EXTENSION org::eclipse::xtend::util::stdlib::io»
+«EXTENSION template::smodlWrapper»
+	
+«DEFINE main FOR dpf::Specification»
+	«EXPAND graph FOR this.graph»
+«ENDDEFINE»
+
+«DEFINE graph FOR dpf::Graph»
+	«EXPAND service FOREACH this.getServices()»
+«ENDDEFINE»
+
+
+«DEFINE service FOR dpf::Service»
+	«FILE this.name+".xml"»
+	<?xml version="1.0" encoding="UTF-8"?>
+	<service name=«setQuotes(this.name)» xmlns=«setQuotes(this.getATargetRefs().first().target.name)»>
+	
+	«EXPAND servicedoc FOREACH  this.getAServiceDocs()»
+	«EXPAND methodref FOREACH this.getAMethodRefs()»
+	«EXPAND struct FOREACH  this.getAStructRefs()»
+	</service>		
+	«ENDFILE»
+	«syserr(this.name)»
+«ENDDEFINE»
+
+«DEFINE servicedoc FOR dpf::serviceDoc»
+	<doc>«this.target.name»</doc>
+«ENDDEFINE»
+
+«DEFINE methodref FOR dpf::methodRef»
+	<method name=«setQuotes(this.target.name)»>
+	«EXPAND methodDoc FOREACH  this.target.getAMethodDocs()»
+	«EXPAND firstargref FOREACH  this.target.getAFirstArgs()»
+	<result type=«setQuotes((setMethodResult(this.target)))»/>
+	 </method>
+«ENDDEFINE»
+
+«DEFINE methodDoc FOR dpf::methodDoc»
+	<doc>«this.target.name»</doc>
+«ENDDEFINE»
+
+«DEFINE firstargref FOR dpf::firstArg»
+	<arg type=«setQuotes(setArgType(this.target))» name=«setQuotes(this.target.name)»/>
+	«EXPAND nextArg FOREACH  this.target.getANextArgs()»
+	
+«ENDDEFINE»
+
+«DEFINE nextArg FOR dpf::nextArg»
+	«nextArgRecursion(this)»
+	«REM»«setNextArg(this)»
+	<arg name= «setQuotes(this.target.name)»
+	type=«setQuotes(setArgType(this.target))»/>«ENDREM»	
+	
+«ENDDEFINE»
+
+«DEFINE struct FOR dpf::structRef»
+
+	<struct name=«setQuotes(this.target.name)»>
+	«EXPAND structDoc FOREACH  this.target.getAStructDocs()»
+	«EXPAND field FOREACH this.target.getAFieldRefs()»
+	</struct>
+«ENDDEFINE»
+
+«DEFINE structDoc FOR dpf::structDoc»
+	<doc>«this.target.name»</doc>
+«ENDDEFINE»
+
+«DEFINE field FOR dpf::fieldRef»
+	<field type=«setQuotes(this.target.name)» name=«setQuotes(this.name)» />
+«ENDDEFINE»
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/template/smodlWrapper.ext
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/template/smodlWrapper.ext	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src/template/smodlWrapper.ext	(revision 888)
@@ -0,0 +1,47 @@
+import dpf;
+extension org::eclipse::xtend::util::stdlib::io;
+
+
+setQuotes(String strName):
+	"\""+strName+"\"";
+
+
+setArgType(dpf::Arg this):
+	this.getAArgStructs().size>0?this.getAArgStructs().first().target.name:
+								 (this.getAArgTypes().size>0?this.getAArgTypes().first().target.name:"");
+			
+
+
+setMethodResult(dpf::Method this):
+	this.getAStructResults().size>0?this.getAStructResults().first().target.name:
+									(this.getASimpleResults().size>0?this.getASimpleResults().first().target.name:"");
+
+
+
+setNextArg(dpf::nextArg this):
+	"<arg type= "+setQuotes(setArgType(this.target))+" name="+setQuotes(this.target.name)+"/>";
+
+String nextArgRecursion(dpf::nextArg this): this.target.getANextArgs().size>0 ? 
+											setNextArg(this)+" "+nextArgRecursion(this.target.getANextArgs().first()):
+											setNextArg(this) ;
+	
+			
+			
+
+	
+	
+
+
+	
+	
+		
+		
+	
+	
+	 
+	
+		
+		
+	
+	
+	 
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/org.eclipse.core.resources.prefs
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/org.eclipse.core.resources.prefs	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/org.eclipse.core.resources.prefs	(revision 888)
@@ -0,0 +1,7 @@
+#Sat Apr 28 10:53:57 CEST 2012
+eclipse.preferences.version=1
+encoding//.settings/no.hib.dpf.codegen.xpand.ui.prefs=Cp1252
+encoding//.settings/org.eclipse.xtend.shared.ui.prefs=Cp1252
+encoding//src/template/templ.xpt=Cp1252
+encoding//src/workflow/workflow.mwe=Cp1252
+encoding/<project>=UTF-8
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/org.eclipse.xtend.shared.ui.prefs
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/org.eclipse.xtend.shared.ui.prefs	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/org.eclipse.xtend.shared.ui.prefs	(revision 888)
@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+project.specific.metamodel=true
+metamodelContributor=no.hib.dpf.codegen.xpand.ui.DpfMetaModelContributor
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/no.hib.dpf.codegen.xpand.ui.prefs
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/no.hib.dpf.codegen.xpand.ui.prefs	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/.settings/no.hib.dpf.codegen.xpand.ui.prefs	(revision 888)
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+metamodel.location=platform:/resource/no.hib.dpf.examples.smodl/specifications/SmodlMetaModel.xmi
Index: /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src-gen/repositoryService.xml
===================================================================
--- /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src-gen/repositoryService.xml	(revision 888)
+++ /dpf-model-editor/trunk/examples/no.hib.dpf.examples.smodl/src-gen/repositoryService.xml	(revision 888)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<service
+    xmlns="http://smodl.org/v1" name="repositoryService">
+  <method name="loginUser">
+    <arg type="string" name="userName"/>
+    <arg type="string" name="password"/>
+    <result type="bool"/>
+  </method>
+  <method name="logoffUser">
+    <result type="bool"/>
+  </method>
+  <method name="createNewUser">
+    <arg type="" name="userInfo"/>
+    <result type="bool"/>
+  </method>
+  <method name="getProfile">
+    <result type="Profile"/>
+  </method>
+  <method name="updateProfile">
+    <arg type="Profile" name="userInfo"/>
+    <result type="bool"/>
+  </method>
+  <method name="getCurrentUsername">
+    <result type="string"/>
+  </method>
+  <struct name="Profile">
+    <field type="string" name="userName"/>
+    <field type="string" name="password"/>
+    <field type="string" name="email"/>
+    <field type="dateTime" name="birthdate"/>
+  </struct>
+</service>
