1 package org.simantics.db;
5 * This interface is used as an adapter context by ReadGraph.adaptRelated.
8 public interface RelationContext {
11 * Returns s in graph.adaptRelated(s, p, clazz)
13 Resource getSubject();
15 * Returns getSingleStatement(s,p) in graph.adaptRelated(s, p, clazz)
17 Statement getStatement();