]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Added alias property to L0.SCLModule 80/380/3
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 27 Mar 2017 05:59:51 +0000 (08:59 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 27 Mar 2017 05:59:51 +0000 (08:59 +0300)
refs #7105

Change-Id: I7f8a2f3cb4c0a4c317619adc561d93334edea529

bundles/org.simantics.layer0/graph.tg
bundles/org.simantics.layer0/graph/Layer0SCL.pgraph
bundles/org.simantics.layer0/src/org/simantics/layer0/Layer0.java

index b12db40eb5f15f257efd60db944f405b84c7e92a..931d67ed3fa59d49198af25f0c2b807b5612a2fe 100644 (file)
Binary files a/bundles/org.simantics.layer0/graph.tg and b/bundles/org.simantics.layer0/graph.tg differ
index af7599ceead54c0ab64f6b3c9a55b5539e344b29..30e3885f439f2e971bcf5fc2dcbe53738e844b01 100644 (file)
@@ -53,7 +53,9 @@ L0.Functions.clusterValidator : L0.Function
 
 L0.SCLModule <T L0.Entity
     >-- L0.SCLModule.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
+    >-- L0.SCLModule.alias --> L0.String <R L0.HasProperty : L0.TotalFunction
     @L0.assert L0.SCLModule.definition ""
+    @L0.assert L0.SCLModule.alias ""
 
 L0.entityReplacer ==> "Resource -> Resource -> <WriteGraph> ()" <R L0.HasProperty : L0.FunctionalRelation
     L0.HasDescription """Used for defining an SCL function that knows how to copy the contents from one entity instance to another when both instances are known to be of the same type.
index a4969326376554104f49639d034570dbefa92f60..752039a160f001cae7f95665acfd6f8169d8dd55 100644 (file)
@@ -220,6 +220,8 @@ public class Layer0 {
     public final Resource SCLMigrationStep;
     public final Resource SCLMigrationStep_SCLMigrationStepAction;
     public final Resource SCLModule;
+    public final Resource SCLModule_alias;
+    public final Resource SCLModule_alias_Inverse;
     public final Resource SCLModule_definition;
     public final Resource SCLModule_definition_Inverse;
     public final Resource SCLValue;
@@ -508,6 +510,8 @@ public class Layer0 {
         public static final String SCLMigrationStep = "http://www.simantics.org/Layer0-1.1/SCLMigrationStep";
         public static final String SCLMigrationStep_SCLMigrationStepAction = "http://www.simantics.org/Layer0-1.1/SCLMigrationStep/SCLMigrationStepAction";
         public static final String SCLModule = "http://www.simantics.org/Layer0-1.1/SCLModule";
+        public static final String SCLModule_alias = "http://www.simantics.org/Layer0-1.1/SCLModule/alias";
+        public static final String SCLModule_alias_Inverse = "http://www.simantics.org/Layer0-1.1/SCLModule/alias/Inverse";
         public static final String SCLModule_definition = "http://www.simantics.org/Layer0-1.1/SCLModule/definition";
         public static final String SCLModule_definition_Inverse = "http://www.simantics.org/Layer0-1.1/SCLModule/definition/Inverse";
         public static final String SCLValue = "http://www.simantics.org/Layer0-1.1/SCLValue";
@@ -806,6 +810,8 @@ public class Layer0 {
         SCLMigrationStep = getResourceOrNull(graph, URIs.SCLMigrationStep);
         SCLMigrationStep_SCLMigrationStepAction = getResourceOrNull(graph, URIs.SCLMigrationStep_SCLMigrationStepAction);
         SCLModule = getResourceOrNull(graph, URIs.SCLModule);
+        SCLModule_alias = getResourceOrNull(graph, URIs.SCLModule_alias);
+        SCLModule_alias_Inverse = getResourceOrNull(graph, URIs.SCLModule_alias_Inverse);
         SCLModule_definition = getResourceOrNull(graph, URIs.SCLModule_definition);
         SCLModule_definition_Inverse = getResourceOrNull(graph, URIs.SCLModule_definition_Inverse);
         SCLValue = getResourceOrNull(graph, URIs.SCLValue);