]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.interop.mapping/src/org/simantics/interop/mapping/WriteGraphProxy.java
SplittingWriteGraph and WriteGraphProxy went out of date after ReadGraph.isImmutable...
[simantics/interop.git] / org.simantics.interop.mapping / src / org / simantics / interop / mapping / WriteGraphProxy.java
index f51407fc02a1ad9152377b72847fcbca2961e045..204d8012a9f972434db20c7a2e6b6eaff84be4a4 100644 (file)
@@ -245,12 +245,19 @@ public class WriteGraphProxy implements WriteGraph {
                return graph.newLiteral(resource, predicate, datatype, initialValue);\r
        }\r
 \r
-    @Override\r
-    public RandomAccessBinary newLiteral4RandomAccessBinary\r
-    (Resource resource, Resource predicate, Datatype datatype, Object initialValue)\r
-    throws DatabaseException {\r
-        return graph.newLiteral4RandomAccessBinary(resource, predicate, datatype, initialValue);\r
-    }\r
+       @Override\r
+       public RandomAccessBinary createRandomAccessBinary(Resource resource,\r
+                       Resource predicate, Datatype datatype, Object initialValue)\r
+                       throws DatabaseException {\r
+               return graph.createRandomAccessBinary(resource, predicate, datatype, initialValue);\r
+       }\r
+       \r
+       @Override\r
+       public RandomAccessBinary createRandomAccessBinary(Resource resource,\r
+                       Datatype datatype, Object initialValue) throws DatabaseException {\r
+               return graph.createRandomAccessBinary(resource, datatype, initialValue);\r
+       }\r
+       \r
 //     @Override\r
 //     public void claimFile(Resource resource, Object content, Binding binding)\r
 //                     throws DatabaseException {\r
@@ -1199,6 +1206,12 @@ public class WriteGraphProxy implements WriteGraph {
                return graph.getSuperrelations(subject);\r
        }\r
 \r
+       @Override\r
+       public Resource getPossibleSuperrelation(Resource subject)\r
+                       throws ServiceException {\r
+               return graph.getPossibleSuperrelation(subject);\r
+       }\r
+\r
 //     @Override\r
 //     public Collection<Resource> getObjects(Resource subject,\r
 //                     Resource relation)\r
@@ -2729,4 +2742,9 @@ public class WriteGraphProxy implements WriteGraph {
                return graph.getProvider();\r
        }\r
 \r
+       @Override\r
+       public boolean isImmutable(Resource resource) throws DatabaseException {\r
+               return graph.isImmutable(resource);\r
+       }\r
+\r
 }\r