]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
To enable copying of expressions, not linking the expressions: IsRelatedTo -> IsCompo...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 5 Oct 2010 06:58:38 +0000 (06:58 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 5 Oct 2010 06:58:38 +0000 (06:58 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18207 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ontology/graph.tg
org.simantics.sysdyn.ontology/graph/Sysdyn.pgraph
org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java

index c972fb75d69faad63dd8b0d37302476a1f9dad36..7c552223c294d4d2533f4f3b1e3986b4665b7041 100644 (file)
Binary files a/org.simantics.sysdyn.ontology/graph.tg and b/org.simantics.sysdyn.ontology/graph.tg differ
index c4fb0ca78ba199235317d6b1959dce7f2fd7869f..88551fa6f9aef7c130bbf8f9de32ddac495a5a6d 100644 (file)
@@ -87,7 +87,7 @@ SYSDYN.HasX <R L0.HasProperty : L0.FunctionalRelation
     L0.HasRange L0.Double
 SYSDYN.HasY <R L0.HasProperty : L0.FunctionalRelation
     L0.HasRange L0.Double
-SYSDYN.HasExpression <R L0.IsRelatedTo : L0.FunctionalRelation
+SYSDYN.HasExpression <R L0.IsComposedOf : L0.FunctionalRelation
     L0.HasRange SYSDYN.Expression
 
 
index 6bda59851b02bf997377f1d4c12bfe0fbff74aab..e5deee4afc10d5d2033c66b0327622b1283ff028 100644 (file)
@@ -151,6 +151,7 @@ public class SysdynResource {
     public final Resource HasEquation;\r
     public final Resource HasEquation_Inverse;\r
     public final Resource HasExpression;\r
+    public final Resource HasExpression_Inverse;\r
     public final Resource HasHead;\r
     public final Resource HasHeadTerminal;\r
     public final Resource HasInitialEquation;\r
@@ -362,6 +363,7 @@ public class SysdynResource {
         public static final String HasEquation = "http://www.simantics.org/Sysdyn-1.0/HasEquation";\r
         public static final String HasEquation_Inverse = "http://www.simantics.org/Sysdyn-1.0/HasEquation/Inverse";\r
         public static final String HasExpression = "http://www.simantics.org/Sysdyn-1.0/HasExpression";\r
+        public static final String HasExpression_Inverse = "http://www.simantics.org/Sysdyn-1.0/HasExpression/Inverse";\r
         public static final String HasHead = "http://www.simantics.org/Sysdyn-1.0/HasHead";\r
         public static final String HasHeadTerminal = "http://www.simantics.org/Sysdyn-1.0/HasHeadTerminal";\r
         public static final String HasInitialEquation = "http://www.simantics.org/Sysdyn-1.0/HasInitialEquation";\r
@@ -583,6 +585,7 @@ public class SysdynResource {
         HasEquation = getResourceOrNull(graph, URIs.HasEquation);\r
         HasEquation_Inverse = getResourceOrNull(graph, URIs.HasEquation_Inverse);\r
         HasExpression = getResourceOrNull(graph, URIs.HasExpression);\r
+        HasExpression_Inverse = getResourceOrNull(graph, URIs.HasExpression_Inverse);\r
         HasHead = getResourceOrNull(graph, URIs.HasHead);\r
         HasHeadTerminal = getResourceOrNull(graph, URIs.HasHeadTerminal);\r
         HasInitialEquation = getResourceOrNull(graph, URIs.HasInitialEquation);\r