Problems creating Session for Session (Error loading representation.aird) [message #1790611] |
Wed, 13 June 2018 10:47  |
Eclipse User |
|
|
|
Hi all,
maybe someone is able to help me. We are trying to get the SiriusSession for an existing diagram, which we have created using an editor. When we open the diagram with Sirius, no error is thrown. But when we try to load the representation.aird, the following error is thrown:
java.lang.RuntimeException: Error while loading representations file
at org.eclipse.sirius.business.internal.session.SessionManagerImpl.getSession(SessionManagerImpl.java:264)
at my.project.design.Transformation.openAirdDiagram(Transformation.java:20)
at my.project.design.Transformation.main(Transformation.java:40)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:538)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:760)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:460)
at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:181)
at org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness.lambda$0(PlatformUITestHarness.java:43)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:52)
at org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:43)
at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:46)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: org.eclipse.core.runtime.CoreException: Error while loading representations file
at org.eclipse.sirius.business.internal.session.SessionFactoryImpl.loadSessionModelResource(SessionFactoryImpl.java:184)
at org.eclipse.sirius.business.internal.session.SessionFactoryImpl.createSession(SessionFactoryImpl.java:88)
at org.eclipse.sirius.business.internal.session.SessionManagerImpl.getSession(SessionManagerImpl.java:257)
... 55 more
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'bank.ecore' is not legal. (file:///[...]/user_view_workspace/HenshinTests/representations.aird, 4, 54)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$ResourceLocator.demandLoadHelper(ResourceSetImpl.java:804)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$MappedResourceLocator.getResource(ResourceSetImpl.java:1204)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:352)
at org.eclipse.sirius.business.internal.session.SessionFactoryImpl.loadSessionModelResource(SessionFactoryImpl.java:171)
... 57 more
Caused by: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'bank.ecore' is not legal. (file:///[...]/user_view_workspace/HenshinTests/representations.aird, 4, 54)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2697)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2682)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.endElement(XMLHandler.java:1606)
at org.eclipse.sirius.business.internal.resource.AirdResourceXMILoad$AirdHandler.endElement(AirdResourceXMILoad.java:105)
at org.eclipse.emf.ecore.xmi.impl.SAXWrapper.endElement(SAXWrapper.java:98)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175)
at org.eclipse.sirius.business.internal.resource.AirdResourceXMILoad.load(AirdResourceXMILoad.java:77)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1297)
at org.eclipse.sirius.business.internal.resource.AirDResourceImpl.load(AirDResourceImpl.java:128)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
... 61 more
Caused by: java.lang.IllegalArgumentException: resolve against non-hierarchical or relative base
at org.eclipse.emf.common.util.URI$Hierarchical.resolve(URI.java:3516)
at org.eclipse.emf.common.util.URI.resolve(URI.java:5547)
at org.eclipse.sirius.business.internal.resource.parser.RepresentationsFileXMIHelper.createFromString(RepresentationsFileXMIHelper.java:138)
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHelperImpl.java:1147)
at org.eclipse.sirius.business.internal.resource.parser.RepresentationsFileXMIHelper.setValue(RepresentationsFileXMIHelper.java:66)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2692)
... 85 more
The code does the following:
package my.project.design;
import java.io.IOException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.sirius.business.api.session.Session;
import org.eclipse.sirius.business.api.session.SessionManager;
import org.eclipse.sirius.viewpoint.DAnalysis;
import org.eclipse.sirius.viewpoint.DRepresentation;
import org.eclipse.sirius.viewpoint.DView;
import org.junit.*;
public class Transformation {
public static void openAirdDiagram(URI uri) {
SessionManager siriusSessionInstance = SessionManager.INSTANCE;
Session siriusSession = siriusSessionInstance.getSession(uri, new NullProgressMonitor());
DAnalysis root =(DAnalysis) siriusSession.getSessionResource().getContents().get(0);
DView dView = root.getOwnedViews().get(0);
System.out.println("Ende");
//DRepresentation myRepresentation = dView.get
}
@Test
public void main() {
URI myRepresentationsFileURI = URI.createFileURI("../HenshinTests/representations.aird");
openAirdDiagram(myRepresentationsFileURI);
}
}
Here is the representations file:
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:henshin_text="http://www.eclipse.org/emf/henshin/text/Henshin_text" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style">
<viewpoint:DAnalysis xmi:id="_vnmmsCOLEeiq14QgEZAyvg" selectedViews="_xIqJwCOLEeiq14QgEZAyvg" version="8.1.1">
<semanticResources>bank.ecore</semanticResources>
<semanticResources>http://www.eclipse.org/emf/2002/Ecore</semanticResources>
<semanticResources>bank.henshin_text</semanticResources>
<semanticResources>example-bank.xmi</semanticResources>
<semanticResources>example-bank_transformed.xmi</semanticResources>
<ownedViews xmi:type="viewpoint:DView" xmi:id="_xIqJwCOLEeiq14QgEZAyvg">
<viewpoint xmi:type="description:Viewpoint" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']"/>
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" xmi:id="_xNsawCOLEeiq14QgEZAyvg" name="henshin_graphical" repPath="#_B9-YUDH2EeirDoPhS535Dw">
<description xmi:type="description_1:DiagramDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']"/>
<target xmi:type="henshin_text:Model" href="bank.henshin_text#/"/>
</ownedRepresentationDescriptors>
</ownedViews>
</viewpoint:DAnalysis>
<diagram:DSemanticDiagram xmi:id="_xNpXcCOLEeiq14QgEZAyvg" name="henshin_graphical" uid="_B9-YUDH2EeirDoPhS535Dw">
<ownedAnnotationEntries xmi:type="description:AnnotationEntry" xmi:id="_xNpXcSOLEeiq14QgEZAyvg" source="DANNOTATION_CUSTOMIZATION_KEY">
<data xmi:type="diagram:ComputedStyleDescriptionRegistry" xmi:id="_xNpXciOLEeiq14QgEZAyvg"/>
</ownedAnnotationEntries>
<ownedAnnotationEntries xmi:type="description:AnnotationEntry" xmi:id="_xOBK4COLEeiq14QgEZAyvg" source="GMF_DIAGRAMS">
<data xmi:type="notation:Diagram" xmi:id="_xOBK4SOLEeiq14QgEZAyvg" type="Sirius" element="_xNpXcCOLEeiq14QgEZAyvg" measurementUnit="Pixel">
<children xmi:type="notation:Node" xmi:id="_xOPNUCOLEeiq14QgEZAyvg" type="2002" element="_xNpXdCOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xOYXQCOLEeiq14QgEZAyvg" type="5006"/>
<children xmi:type="notation:Node" xmi:id="_xOZlYCOLEeiq14QgEZAyvg" type="7001">
<children xmi:type="notation:Node" xmi:id="_xOg6ICOLEeiq14QgEZAyvg" type="3009" element="_xNpXdiOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xOhhMCOLEeiq14QgEZAyvg" type="5004"/>
<children xmi:type="notation:Node" xmi:id="_xOiIQCOLEeiq14QgEZAyvg" type="7003">
<children xmi:type="notation:Node" xmi:id="_uu7ukDILEeirDoPhS535Dw" type="3010" element="_uuJEYDILEeirDoPhS535Dw">
<styles xmi:type="notation:FontStyle" xmi:id="_uu7ukTILEeirDoPhS535Dw" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_uu7ukjILEeirDoPhS535Dw"/>
</children>
<styles xmi:type="notation:SortingStyle" xmi:id="_xOiIQSOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_xOiIQiOLEeiq14QgEZAyvg"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_xOg6ISOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xOg6IiOLEeiq14QgEZAyvg" x="127" y="157"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xOiIQyOLEeiq14QgEZAyvg" type="3009" element="_xNpXeCOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xOivUCOLEeiq14QgEZAyvg" type="5004"/>
<children xmi:type="notation:Node" xmi:id="_xOivUSOLEeiq14QgEZAyvg" type="7003">
<children xmi:type="notation:Node" xmi:id="_uu-x4DILEeirDoPhS535Dw" type="3010" element="_uuUqkDILEeirDoPhS535Dw">
<styles xmi:type="notation:FontStyle" xmi:id="_uu-x4TILEeirDoPhS535Dw" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_uu-x4jILEeirDoPhS535Dw"/>
</children>
<children xmi:type="notation:Node" xmi:id="_uu_Y8DILEeirDoPhS535Dw" type="3010" element="_uuXG0DILEeirDoPhS535Dw">
<styles xmi:type="notation:FontStyle" xmi:id="_uu_Y8TILEeirDoPhS535Dw" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_uu_Y8jILEeirDoPhS535Dw"/>
</children>
<styles xmi:type="notation:SortingStyle" xmi:id="_xOivUiOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_xOivUyOLEeiq14QgEZAyvg"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_xOiIRCOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xOiIRSOLEeiq14QgEZAyvg" x="265" y="30" width="163"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xOjWYCOLEeiq14QgEZAyvg" type="3009" element="_xNpXeiOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xOjWYyOLEeiq14QgEZAyvg" type="5004"/>
<children xmi:type="notation:Node" xmi:id="_xOjWZCOLEeiq14QgEZAyvg" type="7003">
<children xmi:type="notation:Node" xmi:id="_UvSEoF98EeidX99ltpt2Wg" type="3010" element="_UvNMIF98EeidX99ltpt2Wg">
<styles xmi:type="notation:FontStyle" xmi:id="_UvSEoV98EeidX99ltpt2Wg" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_UvSEol98EeidX99ltpt2Wg"/>
</children>
<styles xmi:type="notation:SortingStyle" xmi:id="_xOjWZSOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_xOjWZiOLEeiq14QgEZAyvg"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_xOjWYSOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xOjWYiOLEeiq14QgEZAyvg" x="565" y="136"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xOj9cCOLEeiq14QgEZAyvg" type="3009" element="_xNpXfCOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xOj9cyOLEeiq14QgEZAyvg" type="5004"/>
<children xmi:type="notation:Node" xmi:id="_xOj9dCOLEeiq14QgEZAyvg" type="7003">
<styles xmi:type="notation:SortingStyle" xmi:id="_xOj9dSOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_xOj9diOLEeiq14QgEZAyvg"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_xOj9cSOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xOj9ciOLEeiq14QgEZAyvg" x="370" y="219"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xOj9dyOLEeiq14QgEZAyvg" type="3009" element="_xNpXfiOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xOkkgCOLEeiq14QgEZAyvg" type="5004"/>
<children xmi:type="notation:Node" xmi:id="_xOkkgSOLEeiq14QgEZAyvg" type="7003">
<styles xmi:type="notation:SortingStyle" xmi:id="_xOkkgiOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_xOkkgyOLEeiq14QgEZAyvg"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_xOj9eCOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xOj9eSOLEeiq14QgEZAyvg" x="30" y="30"/>
</children>
<styles xmi:type="notation:SortingStyle" xmi:id="_xOZlYSOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_xOZlYiOLEeiq14QgEZAyvg"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_xOPNUSOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xOPNUiOLEeiq14QgEZAyvg"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_xOBK4iOLEeiq14QgEZAyvg"/>
<edges xmi:type="notation:Edge" xmi:id="_xO5UoCOLEeiq14QgEZAyvg" type="4001" element="_xNpXgCOLEeiq14QgEZAyvg" source="_xOg6ICOLEeiq14QgEZAyvg" target="_xOiIQyOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xO7J0COLEeiq14QgEZAyvg" type="6001">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xO7J0SOLEeiq14QgEZAyvg" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xO-NICOLEeiq14QgEZAyvg" type="6002">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xO-NISOLEeiq14QgEZAyvg" x="52" y="21"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xO-0MCOLEeiq14QgEZAyvg" type="6003">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xO-0MSOLEeiq14QgEZAyvg" x="-3" y="10"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_xO5UoSOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FontStyle" xmi:id="_xO5UoiOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8" bold="true"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xO5UoyOLEeiq14QgEZAyvg" points="[0, 0, -138, 63]$[138, -63, 0, 0]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xPM2oCOLEeiq14QgEZAyvg" id="(0.5,0.0)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xPNdsCOLEeiq14QgEZAyvg" id="(0.2919254658385093,1.0)"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_xPNdsSOLEeiq14QgEZAyvg" type="4001" element="_xNpXhCOLEeiq14QgEZAyvg" source="_xOjWYCOLEeiq14QgEZAyvg" target="_xOiIQyOLEeiq14QgEZAyvg">
<children xmi:type="notation:Node" xmi:id="_xPOEwCOLEeiq14QgEZAyvg" type="6001">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xPOEwSOLEeiq14QgEZAyvg" y="-10"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xPOEwiOLEeiq14QgEZAyvg" type="6002">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xPOEwyOLEeiq14QgEZAyvg" x="1" y="11"/>
</children>
<children xmi:type="notation:Node" xmi:id="_xPOExCOLEeiq14QgEZAyvg" type="6003">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_xPOExSOLEeiq14QgEZAyvg" x="-96" y="18"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_xPNdsiOLEeiq14QgEZAyvg"/>
<styles xmi:type="notation:FontStyle" xmi:id="_xPNdsyOLEeiq14QgEZAyvg" fontName="Segoe UI" fontHeight="8" bold="true"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xPNdtCOLEeiq14QgEZAyvg" points="[0, 0, 300, 42]$[-300, -42, 0, 0]"/>
<sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xPOr0COLEeiq14QgEZAyvg" id="(0.5,0.0)"/>
<targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xPOr0SOLEeiq14QgEZAyvg" id="(0.2919254658385093,1.0)"/>
</edges>
</data>
</ownedAnnotationEntries>
<ownedDiagramElements xmi:type="diagram:DNodeContainer" xmi:id="_xNpXdCOLEeiq14QgEZAyvg" name="Rule makeTransfer(in clientname:EString, var bla:EString)" width="100" height="50">
<target xmi:type="henshin_text:Rule" href="bank.henshin_text#//@transformationsystem.0"/>
<semanticElements xmi:type="henshin_text:Rule" href="bank.henshin_text#//@transformationsystem.0"/>
<ownedStyle xmi:type="diagram:FlatContainerStyle" xmi:id="_xNpXdSOLEeiq14QgEZAyvg" showIcon="false" labelAlignment="LEFT" borderSize="1" borderSizeComputationExpression="1" foregroundColor="255,255,255">
<description xmi:type="style:FlatContainerStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']"/>
<ownedDiagramElements xmi:type="diagram:DNodeList" xmi:id="_xNpXdiOLEeiq14QgEZAyvg" name="preserve
sender : Client" outgoingEdges="_xNpXgCOLEeiq14QgEZAyvg" width="-1" height="-1">
<target xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.0"/>
<semanticElements xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.0"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
<ownedStyle xmi:type="diagram:FlatContainerStyle" xmi:id="_TTDXMF98EeidX99ltpt2Wg" showIcon="false" labelAlignment="LEFT" borderSize="1" borderSizeComputationExpression="1">
<description xmi:type="style:FlatContainerStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']"/>
<ownedElements xmi:type="diagram:DNodeListElement" xmi:id="_uuJEYDILEeirDoPhS535Dw" name="name = bob">
<target xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.0/@attribute.0"/>
<semanticElements xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.0/@attribute.0"/>
<ownedStyle xmi:type="diagram:Square" xmi:id="_uuQZIDILEeirDoPhS535Dw" showIcon="false" labelPosition="node">
<description xmi:type="style:SquareDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']"/>
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" xmi:id="_xNpXeCOLEeiq14QgEZAyvg" name="preserve
account : Account" incomingEdges="_xNpXgCOLEeiq14QgEZAyvg _xNpXhCOLEeiq14QgEZAyvg" width="-1" height="-1">
<target xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.1"/>
<semanticElements xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.1"/>
<ownedStyle xmi:type="diagram:FlatContainerStyle" xmi:id="_TTDXMV98EeidX99ltpt2Wg" showIcon="false" labelAlignment="LEFT" borderSize="1" borderSizeComputationExpression="1">
<description xmi:type="style:FlatContainerStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']"/>
<ownedElements xmi:type="diagram:DNodeListElement" xmi:id="_uuUqkDILEeirDoPhS535Dw" name="credit = 1 + 4">
<target xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.1/@attribute.0"/>
<semanticElements xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.1/@attribute.0"/>
<ownedStyle xmi:type="diagram:Square" xmi:id="_uuWfwDILEeirDoPhS535Dw" showIcon="false" labelPosition="node">
<description xmi:type="style:SquareDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']"/>
</ownedElements>
<ownedElements xmi:type="diagram:DNodeListElement" xmi:id="_uuXG0DILEeirDoPhS535Dw" name="credit = 19.0">
<target xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.1/@attribute.1"/>
<semanticElements xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.1/@attribute.1"/>
<ownedStyle xmi:type="diagram:Square" xmi:id="_uuXt4DILEeirDoPhS535Dw" showIcon="false" labelPosition="node">
<description xmi:type="style:SquareDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']"/>
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" xmi:id="_xNpXeiOLEeiq14QgEZAyvg" name="preserve
recipient : Client" outgoingEdges="_xNpXhCOLEeiq14QgEZAyvg" width="-1" height="-1">
<target xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.2"/>
<semanticElements xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.2"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
<ownedStyle xmi:type="diagram:FlatContainerStyle" xmi:id="_TTDXMl98EeidX99ltpt2Wg" showIcon="false" labelAlignment="LEFT" borderSize="1" borderSizeComputationExpression="1">
<description xmi:type="style:FlatContainerStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']"/>
<ownedElements xmi:type="diagram:DNodeListElement" xmi:id="_UvNMIF98EeidX99ltpt2Wg" name="name = test">
<target xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.2/@attribute.0"/>
<semanticElements xmi:type="henshin_text:Attribute" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.2/@attribute.0"/>
<ownedStyle xmi:type="diagram:Square" xmi:id="_UvOaQF98EeidX99ltpt2Wg" showIcon="false" labelPosition="node">
<description xmi:type="style:SquareDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@subNodeMappings[name='attribute']"/>
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" xmi:id="_xNpXfCOLEeiq14QgEZAyvg" name="preserve
bank : Bank" width="-1" height="-1">
<target xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.3"/>
<semanticElements xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.3"/>
<ownedStyle xmi:type="diagram:FlatContainerStyle" xmi:id="_TTDXM198EeidX99ltpt2Wg" showIcon="false" labelAlignment="LEFT" borderSize="1" borderSizeComputationExpression="1">
<description xmi:type="style:FlatContainerStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" xmi:id="_xNpXfiOLEeiq14QgEZAyvg" name="delete
Test : Manager" width="-1" height="-1">
<target xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.5"/>
<semanticElements xmi:type="henshin_text:Node" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.5"/>
<ownedStyle xmi:type="diagram:FlatContainerStyle" xmi:id="_TTD-QF98EeidX99ltpt2Wg" showIcon="false" labelAlignment="LEFT" borderSize="1" borderSizeComputationExpression="1">
<description xmi:type="style:FlatContainerStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@containerMappings[name='rule_container']/@subContainerMappings[name='node_container']"/>
</ownedDiagramElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" xmi:id="_xNpXgCOLEeiq14QgEZAyvg" sourceNode="_xNpXdiOLEeiq14QgEZAyvg" targetNode="_xNpXeCOLEeiq14QgEZAyvg" beginLabel="accounts" endLabel="delete">
<target xmi:type="henshin_text:Edge" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.4/@edges.0"/>
<semanticElements xmi:type="henshin_text:Edge" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.4/@edges.0"/>
<ownedStyle xmi:type="diagram:EdgeStyle" xmi:id="_xNpXgSOLEeiq14QgEZAyvg" strokeColor="239,41,41">
<description xmi:type="style:EdgeStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@edgeMappings[name='edge']/@conditionnalStyles.2/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" xmi:id="_xNpXgiOLEeiq14QgEZAyvg" showIcon="false"/>
<endLabelStyle xmi:type="diagram:EndLabelStyle" xmi:id="_xNpXgyOLEeiq14QgEZAyvg" showIcon="false" labelColor="239,41,41"/>
</ownedStyle>
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@edgeMappings[name='edge']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" xmi:id="_xNpXhCOLEeiq14QgEZAyvg" sourceNode="_xNpXeiOLEeiq14QgEZAyvg" targetNode="_xNpXeCOLEeiq14QgEZAyvg" beginLabel="accounts" endLabel="create">
<target xmi:type="henshin_text:Edge" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.4/@edges.1"/>
<semanticElements xmi:type="henshin_text:Edge" href="bank.henshin_text#//@transformationsystem.0/@ruleElements.0/@graphElements.4/@edges.1"/>
<ownedStyle xmi:type="diagram:EdgeStyle" xmi:id="_xNpXhSOLEeiq14QgEZAyvg" strokeColor="77,137,20">
<description xmi:type="style:EdgeStyleDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@edgeMappings[name='edge']/@conditionnalStyles.1/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" xmi:id="_xNpXhiOLEeiq14QgEZAyvg" showIcon="false"/>
<endLabelStyle xmi:type="diagram:EndLabelStyle" xmi:id="_xNpXhyOLEeiq14QgEZAyvg" showIcon="false" labelColor="77,137,20"/>
</ownedStyle>
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer/@edgeMappings[name='edge']"/>
</ownedDiagramElements>
<description xmi:type="description_1:DiagramDescription" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']"/>
<filterVariableHistory xmi:type="diagram:FilterVariableHistory" xmi:id="_xNpXjCOLEeiq14QgEZAyvg"/>
<activatedLayers xmi:type="description_1:Layer" href="platform:/resource/my.project.design/description/henshin.odesign#//@ownedViewpoints[name='HenshinGraphical']/@ownedRepresentations[name='henshin_graphical']/@defaultLayer"/>
<target xmi:type="henshin_text:Model" href="bank.henshin_text#/"/>
</diagram:DSemanticDiagram>
</xmi:XMI>
If you need more information from me, please ask for it.
Best regards,
Merlin
|
|
|
|
Powered by
FUDForum. Page generated in 0.05195 seconds