edu.umd.cfar.lamp.apploader.prefs
Class ModelEvent

java.lang.Object
  extended byedu.umd.cfar.lamp.apploader.prefs.ModelEvent

public class ModelEvent
extends java.lang.Object

Describes a change in an RDF model.

Author:
davidm

Constructor Summary
ModelEvent(com.hp.hpl.jena.rdf.model.Model del, com.hp.hpl.jena.rdf.model.Model add)
          Creates a new model event, with the given additions and removals.
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model getAdded()
          Gets all the RDF Statements related to the query since the Listener was last invoked.
 com.hp.hpl.jena.rdf.model.Model getRemoved()
          Gets all of the RDF Statements that were removed, related to the listening filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelEvent

public ModelEvent(com.hp.hpl.jena.rdf.model.Model del,
                  com.hp.hpl.jena.rdf.model.Model add)
Creates a new model event, with the given additions and removals.

Parameters:
del - these triples are removed
add - these triples are added
Method Detail

getAdded

public com.hp.hpl.jena.rdf.model.Model getAdded()
Gets all the RDF Statements related to the query since the Listener was last invoked.

Returns:
Collection of Statement objects

getRemoved

public com.hp.hpl.jena.rdf.model.Model getRemoved()
Gets all of the RDF Statements that were removed, related to the listening filter.

Returns:
Collection of Statements