org.topbraid.inference.change
Class AbstractInferenceChange

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

public abstract class AbstractInferenceChange
extends AbstractChange


Field Summary
protected  int addedCount
           
protected  com.hp.hpl.jena.rdf.model.Model baseModel
           
protected  IInferenceEngineConfiguration config
           
protected  IInferenceEngine[] engines
           
protected  com.hp.hpl.jena.rdf.model.Model infModel
           
protected  com.hp.hpl.jena.ontology.OntModel ontModel
           
 
Constructor Summary
AbstractInferenceChange(java.lang.String name)
           
AbstractInferenceChange(java.lang.String name, IInferenceEngine[] engines, IInferenceEngineConfiguration config, com.hp.hpl.jena.ontology.OntModel ontModel, com.hp.hpl.jena.rdf.model.Model baseModel, com.hp.hpl.jena.rdf.model.Model infModel)
           
 
Method Summary
 int getAddedCount()
           
protected  com.hp.hpl.jena.rdf.model.InfModel getInfModel(com.hp.hpl.jena.ontology.OntModel rawModel)
           
protected  com.hp.hpl.jena.rdf.model.StmtIterator listRelevantStatements(com.hp.hpl.jena.rdf.model.InfModel om)
           
protected  void runReally(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void runReallyNow(org.eclipse.core.runtime.IProgressMonitor monitor, com.hp.hpl.jena.ontology.OntModel startModel)
           
 
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
 
Methods inherited from interface org.topbraid.core.change.IChange
execute
 

Field Detail

addedCount

protected int addedCount

baseModel

protected com.hp.hpl.jena.rdf.model.Model baseModel

config

protected IInferenceEngineConfiguration config

engines

protected IInferenceEngine[] engines

infModel

protected com.hp.hpl.jena.rdf.model.Model infModel

ontModel

protected com.hp.hpl.jena.ontology.OntModel ontModel
Constructor Detail

AbstractInferenceChange

public AbstractInferenceChange(java.lang.String name)

AbstractInferenceChange

public AbstractInferenceChange(java.lang.String name,
                               IInferenceEngine[] engines,
                               IInferenceEngineConfiguration config,
                               com.hp.hpl.jena.ontology.OntModel ontModel,
                               com.hp.hpl.jena.rdf.model.Model baseModel,
                               com.hp.hpl.jena.rdf.model.Model infModel)
Method Detail

getAddedCount

public int getAddedCount()

getInfModel

protected com.hp.hpl.jena.rdf.model.InfModel getInfModel(com.hp.hpl.jena.ontology.OntModel rawModel)

listRelevantStatements

protected com.hp.hpl.jena.rdf.model.StmtIterator listRelevantStatements(com.hp.hpl.jena.rdf.model.InfModel om)

runReally

protected void runReally(org.eclipse.core.runtime.IProgressMonitor monitor)
                  throws java.lang.Exception
Throws:
java.lang.Exception

runReallyNow

public void runReallyNow(org.eclipse.core.runtime.IProgressMonitor monitor,
                         com.hp.hpl.jena.ontology.OntModel startModel)
                  throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException