X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.interop.mapping%2Fsrc%2Forg%2Fsimantics%2Finterop%2Fmapping%2FWriteGraphProxy.java;h=204d8012a9f972434db20c7a2e6b6eaff84be4a4;hb=db06b57ef3e37b14c301d3de57291b5de153f893;hp=f51407fc02a1ad9152377b72847fcbca2961e045;hpb=275cb85d39ce2f2abd1433f8d2d057019197fc34;p=simantics%2Finterop.git diff --git a/org.simantics.interop.mapping/src/org/simantics/interop/mapping/WriteGraphProxy.java b/org.simantics.interop.mapping/src/org/simantics/interop/mapping/WriteGraphProxy.java index f51407f..204d801 100644 --- a/org.simantics.interop.mapping/src/org/simantics/interop/mapping/WriteGraphProxy.java +++ b/org.simantics.interop.mapping/src/org/simantics/interop/mapping/WriteGraphProxy.java @@ -245,12 +245,19 @@ public class WriteGraphProxy implements WriteGraph { return graph.newLiteral(resource, predicate, datatype, initialValue); } - @Override - public RandomAccessBinary newLiteral4RandomAccessBinary - (Resource resource, Resource predicate, Datatype datatype, Object initialValue) - throws DatabaseException { - return graph.newLiteral4RandomAccessBinary(resource, predicate, datatype, initialValue); - } + @Override + public RandomAccessBinary createRandomAccessBinary(Resource resource, + Resource predicate, Datatype datatype, Object initialValue) + throws DatabaseException { + return graph.createRandomAccessBinary(resource, predicate, datatype, initialValue); + } + + @Override + public RandomAccessBinary createRandomAccessBinary(Resource resource, + Datatype datatype, Object initialValue) throws DatabaseException { + return graph.createRandomAccessBinary(resource, datatype, initialValue); + } + // @Override // public void claimFile(Resource resource, Object content, Binding binding) // throws DatabaseException { @@ -1199,6 +1206,12 @@ public class WriteGraphProxy implements WriteGraph { return graph.getSuperrelations(subject); } + @Override + public Resource getPossibleSuperrelation(Resource subject) + throws ServiceException { + return graph.getPossibleSuperrelation(subject); + } + // @Override // public Collection getObjects(Resource subject, // Resource relation) @@ -2729,4 +2742,9 @@ public class WriteGraphProxy implements WriteGraph { return graph.getProvider(); } + @Override + public boolean isImmutable(Resource resource) throws DatabaseException { + return graph.isImmutable(resource); + } + }