]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
GeneratorID
authorluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 24 Aug 2011 08:12:59 +0000 (08:12 +0000)
committerMarko Luukkainen <marko.luukkainen@vtt.fi>
Thu, 2 Feb 2017 09:22:15 +0000 (11:22 +0200)
git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@21885 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.interop/graph.tg
org.simantics.interop/graph/Interop.pgraph
org.simantics.interop/src/org/simantics/interop/stubs/InteropResource.java

index 1c5f136f4ff94200865c29ddd267a7dfcbba22ec..164cb48bf5d912fe7248650f2fcb4ca7d6843754 100644 (file)
Binary files a/org.simantics.interop/graph.tg and b/org.simantics.interop/graph.tg differ
index e69b289f839ffca69c3bdb37fa8de5b1a0e5819e..7ec5ad0f7dea53a647dfde3c44074469ea328ac3 100644 (file)
@@ -17,6 +17,9 @@ INTEROP.ImportLibrary <T L0.Library
 \r
 INTEROP.HasSource <R L0.IsWeaklyRelatedTo\r
     L0.InverseOf INTEROP.HasDestination <R L0.IsWeaklyRelatedTo\r
+\r
+INTEROP.HasGeneratorID <R L0.HasProperty\r
+    L0.HasRange L0.String\r
     \r
 IBC = INTEROP.InteropBrowseContext : VP.BrowseContext\r
     VP.BrowseContext.IsIncludedIn MOD.ModelingBrowseContext\r
index fd1d7ed5d776fb11746743018b864f02bd7962fd..6115e7a2ffcd65fddb4c79b21a163074b521ffb4 100644 (file)
@@ -9,6 +9,8 @@ import org.simantics.db.exception.DatabaseException;
 public class InteropResource {\r
     \r
     public final Resource HasDestination;\r
+    public final Resource HasGeneratorID;\r
+    public final Resource HasGeneratorID_Inverse;\r
     public final Resource HasImportData;\r
     public final Resource HasSource;\r
     public final Resource INodeType;\r
@@ -20,6 +22,8 @@ public class InteropResource {
         \r
     public static class URIs {\r
         public static final String HasDestination = "http://www.simantics.org/Interop-1.0/HasDestination";\r
+        public static final String HasGeneratorID = "http://www.simantics.org/Interop-1.0/HasGeneratorID";\r
+        public static final String HasGeneratorID_Inverse = "http://www.simantics.org/Interop-1.0/HasGeneratorID/Inverse";\r
         public static final String HasImportData = "http://www.simantics.org/Interop-1.0/HasImportData";\r
         public static final String HasSource = "http://www.simantics.org/Interop-1.0/HasSource";\r
         public static final String INodeType = "http://www.simantics.org/Interop-1.0/INodeType";\r
@@ -41,6 +45,8 @@ public class InteropResource {
     \r
     public InteropResource(ReadGraph graph) {\r
         HasDestination = getResourceOrNull(graph, URIs.HasDestination);\r
+        HasGeneratorID = getResourceOrNull(graph, URIs.HasGeneratorID);\r
+        HasGeneratorID_Inverse = getResourceOrNull(graph, URIs.HasGeneratorID_Inverse);\r
         HasImportData = getResourceOrNull(graph, URIs.HasImportData);\r
         HasSource = getResourceOrNull(graph, URIs.HasSource);\r
         INodeType = getResourceOrNull(graph, URIs.INodeType);\r