From: Tuukka Lehtonen Date: Fri, 14 Sep 2018 07:28:36 +0000 (+0300) Subject: Fix Layer0 definitions that cause unnecessary warnings in SCLTypeUtils X-Git-Tag: v1.43.0~136^2~377 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=5018a18d2f4a19254bb866c3c925a74e7df5e434;hp=-c Fix Layer0 definitions that cause unnecessary warnings in SCLTypeUtils gitlab #120 Change-Id: I752331250a46f0e01f48ad128458460d3e9061cc --- 5018a18d2f4a19254bb866c3c925a74e7df5e434 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