]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db/src/org/simantics/db/RelationContext.java
Amendment to commit 373affcc
[simantics/platform.git] / bundles / org.simantics.db / src / org / simantics / db / RelationContext.java
1 package org.simantics.db;
2
3
4 /*
5  * This interface is used as an adapter context by ReadGraph.adaptRelated.
6  * 
7  */
8 public interface RelationContext {
9
10         /*
11          * Returns s in graph.adaptRelated(s, p, clazz)
12          */
13         Resource getSubject();
14         /*
15          * Returns getSingleStatement(s,p) in graph.adaptRelated(s, p, clazz)
16          */
17         Statement getStatement();
18         
19 }