org.topbraid.change
Class CreateReifiedStatementChange

java.lang.Object
  extended by org.topbraid.core.change.AbstractChange
      extended by org.topbraid.change.CreateReifiedStatementChange
All Implemented Interfaces:
IChange

public class CreateReifiedStatementChange
extends AbstractChange


Constructor Summary
CreateReifiedStatementChange(com.hp.hpl.jena.rdf.model.Model targetModel, java.lang.String uri, com.hp.hpl.jena.rdf.model.Statement s, DefaultValuesProvider dvp)
           
 
Method Summary
 void execute(ISession session, org.eclipse.core.runtime.IProgressMonitor monitor)
          Executes the change.
 com.hp.hpl.jena.rdf.model.Resource getNewStatement()
           
 java.lang.String getNewStatementURI()
           
 
Methods inherited from class org.topbraid.core.change.AbstractChange
check, getImageMetadata, getLabel, isNoop, setImage, setImage, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateReifiedStatementChange

public CreateReifiedStatementChange(com.hp.hpl.jena.rdf.model.Model targetModel,
                                    java.lang.String uri,
                                    com.hp.hpl.jena.rdf.model.Statement s,
                                    DefaultValuesProvider dvp)
Method Detail

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 on
monitor - a progress monitor for longish operations (may be null)

getNewStatement

public com.hp.hpl.jena.rdf.model.Resource getNewStatement()

getNewStatementURI

public java.lang.String getNewStatementURI()