org.topbraid.change
Class AddStatementChange
java.lang.Object
org.topbraid.core.change.AbstractChange
org.topbraid.change.AddStatementChange
- All Implemented Interfaces:
- IChange
public class AddStatementChange
- extends AbstractChange
|
Constructor Summary |
AddStatementChange(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
IObjectProvider objectProvider)
|
AddStatementChange(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
|
|
Method Summary |
void |
execute(ISession session,
org.eclipse.core.runtime.IProgressMonitor monitor)
Executes the change. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddStatementChange
public AddStatementChange(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
com.hp.hpl.jena.rdf.model.RDFNode object)
AddStatementChange
public AddStatementChange(com.hp.hpl.jena.rdf.model.Resource subject,
com.hp.hpl.jena.rdf.model.Property predicate,
IObjectProvider objectProvider)
execute
public void execute(ISession session,
org.eclipse.core.runtime.IProgressMonitor monitor)
- Description copied from interface:
IChange
- Executes the change. This should perform the changes to a Jena model.
In case of an unexpected state, the method may throw an IllegalStateException.
- Parameters:
session - the session to execute the change onmonitor - a progress monitor for longish operations (may be null)