org.topbraid.core.inference
Class AbstractInference

java.lang.Object
  extended by org.topbraid.core.inference.AbstractInference
All Implemented Interfaces:
IInference
Direct Known Subclasses:
DefaultSuperClassInference, DomainRangeInheritanceInference, DomainRangeSynchronizationInference, InverseFunctionalSynchronizationInference, InverseStatementsInitInference, InverseStatementsUpdateInference, SymmetricInverseInference

public abstract class AbstractInference
extends java.lang.Object
implements IInference


Constructor Summary
AbstractInference(java.lang.String name)
           
 
Method Summary
protected  void addInference(com.hp.hpl.jena.rdf.model.Model infModel, com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate, com.hp.hpl.jena.rdf.model.RDFNode object)
           
protected  void addToMap(java.util.Map map, com.hp.hpl.jena.graph.Node key, java.lang.Object value)
           
 java.lang.String getName()
           
protected  void removeAny(com.hp.hpl.jena.rdf.model.Model infModel, java.util.Iterator statements)
           
protected  void removeInference(com.hp.hpl.jena.rdf.model.Model infModel, com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Property predicate, com.hp.hpl.jena.rdf.model.RDFNode object)
           
protected  void update(java.util.Map map)
           
protected  void update(com.hp.hpl.jena.rdf.model.Model infModel, com.hp.hpl.jena.rdf.model.Resource resource)
           
 
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.inference.IInference
changePerformed, init
 

Constructor Detail

AbstractInference

public AbstractInference(java.lang.String name)
Method Detail

addInference

protected void addInference(com.hp.hpl.jena.rdf.model.Model infModel,
                            com.hp.hpl.jena.rdf.model.Resource subject,
                            com.hp.hpl.jena.rdf.model.Property predicate,
                            com.hp.hpl.jena.rdf.model.RDFNode object)

addToMap

protected void addToMap(java.util.Map map,
                        com.hp.hpl.jena.graph.Node key,
                        java.lang.Object value)

getName

public java.lang.String getName()
Specified by:
getName in interface IInference

removeAny

protected void removeAny(com.hp.hpl.jena.rdf.model.Model infModel,
                         java.util.Iterator statements)

removeInference

protected void removeInference(com.hp.hpl.jena.rdf.model.Model infModel,
                               com.hp.hpl.jena.rdf.model.Resource subject,
                               com.hp.hpl.jena.rdf.model.Property predicate,
                               com.hp.hpl.jena.rdf.model.RDFNode object)

update

protected void update(java.util.Map map)

update

protected void update(com.hp.hpl.jena.rdf.model.Model infModel,
                      com.hp.hpl.jena.rdf.model.Resource resource)