Interface IGraphConsumer
- All Known Implementing Classes:
ThreadedModelResolver
public interface IGraphConsumer
Graph consumer, that maintains the state of a graph created by a third party.
- Since:
- 2.4
-
Method Summary
Modifier and Type Method Description IGraphView<URI>getGraphView()Provide a read-only view of the graph used by this consumer.java.lang.StringgetId()Return the ID used to identify this specific consumer.voidsetGraph(IGraph<URI> graph)Set the graph to be used by this consumer.
-
Method Details
-
setGraph
Set the graph to be used by this consumer.- Parameters:
graph- The graph to use
-
getId
java.lang.String getId()Return the ID used to identify this specific consumer.- Returns:
- the consumer id
-
getGraphView
IGraphView<URI> getGraphView()Provide a read-only view of the graph used by this consumer.- Returns:
- A read-only view of the graph used by this consumer.
-