From 5018a18d2f4a19254bb866c3c925a74e7df5e434 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Fri, 14 Sep 2018 10:28:36 +0300 Subject: [PATCH] Fix Layer0 definitions that cause unnecessary warnings in SCLTypeUtils gitlab #120 Change-Id: I752331250a46f0e01f48ad128458460d3e9061cc --- .../db/layer0/variable/StructuredProperty.java | 10 ++++++++++ bundles/org.simantics.layer0/graph/Layer0.pgraph | 3 ++- .../org.simantics.layer0/graph/Layer0Literals.pgraph | 2 +- .../src/org/simantics/modeling/SCLTypeUtils.java | 3 +++ .../org.simantics.scl.db/scl/Simantics/Variables.scl | 3 +++ 5 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/StructuredProperty.java diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/StructuredProperty.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/StructuredProperty.java new file mode 100644 index 000000000..fa6469c3f --- /dev/null +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/StructuredProperty.java @@ -0,0 +1,10 @@ +package org.simantics.db.layer0.variable; + +/** + * Java interface for StructuredProperty SCL value type. + * + * @author Tuukka Lehtonen + * @since 1.36.0 + */ +public interface StructuredProperty { +} \ No newline at end of file diff --git a/bundles/org.simantics.layer0/graph/Layer0.pgraph b/bundles/org.simantics.layer0/graph/Layer0.pgraph index 5fe74ec01..225a4f17e 100644 --- a/bundles/org.simantics.layer0/graph/Layer0.pgraph +++ b/bundles/org.simantics.layer0/graph/Layer0.pgraph @@ -22,6 +22,7 @@ L0.Entity : L0.Type >-- L0.identifier L0.GUID + ==> "GUID" >-- L0.typeURI L0.String @@ -42,7 +43,7 @@ L0.Entity : L0.Type @L0.assert L0.Entity.methods _ : L0.Value -L0.Entity.methods --> L0.Value "StructuredProperty" " createVariableMap :: [Resource] -> VariableMap -- 2.47.1