From 3d8c21802176627ba3ff724980bf7606bcbb5100 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Fri, 5 Jan 2018 20:48:47 +0200 Subject: [PATCH] claimWithInverse & possibleInverseOf function to DB.scl refs #7709 Change-Id: I2869df644ca01b77212d34ffbf11af85c3da7946 --- bundles/org.simantics.scl.db/scl/Simantics/DB.scl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/org.simantics.scl.db/scl/Simantics/DB.scl b/bundles/org.simantics.scl.db/scl/Simantics/DB.scl index ec9cc2671..d7c1dde06 100644 --- a/bundles/org.simantics.scl.db/scl/Simantics/DB.scl +++ b/bundles/org.simantics.scl.db/scl/Simantics/DB.scl @@ -133,6 +133,8 @@ importJava "org.simantics.db.ReadGraph" where @JavaName getInverse inverseOf :: Resource -> Resource + @JavaName getPossibleInverse + possibleInverseOf :: Resource -> Maybe Resource @JavaName getSingleType singleTypeOf :: Resource -> Resource -> Resource @@ -217,6 +219,8 @@ importJava "org.simantics.db.WriteGraph" where newResource :: () -> Resource "Adds a statement to the semantic graph." claim :: Resource -> Resource -> Resource -> () + @JavaName claim + claimWithInverse :: Resource -> Resource -> Maybe Resource -> Resource -> () @JavaName claimLiteral claimRelatedValue_ :: Resource -> Resource -> a -> Binding a -> () @JavaName claimLiteral -- 2.43.2