org.apache.clerezza.rdf.core.event
Class GraphEvent
java.lang.Object
org.apache.clerezza.rdf.core.event.GraphEvent
- Direct Known Subclasses:
- AddEvent, RemoveEvent
public class GraphEvent
- extends Object
This class represent a modification event that occured on a
TripleCollection. A GraphEvent object keeps
information about this event. These information are: The Triple
that was part of the modification, the type of modification (addition or
removal) and the TripleCollection that was modified.
- Author:
- mir
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphEvent
protected GraphEvent(TripleCollection graph,
Triple triple)
getGraph
public TripleCollection getGraph()
- Returns the
TripleCollection that was modified in the event.
- Returns:
- the graph
getTriple
public Triple getTriple()
- Return the
Triple that was part of the modification.
- Returns:
- the triple
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.