de.unima.alcomox
Class AlcomoProblem
java.lang.Object
de.unima.alcomox.AlcomoProblem
- Direct Known Subclasses:
- ExtractionProblem
public abstract class AlcomoProblem
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceOntology
protected LocalOntology sourceOntology
targetOntology
protected LocalOntology targetOntology
inputMapping
protected Mapping inputMapping
solved
protected boolean solved
initialized
protected boolean initialized
AlcomoProblem
public AlcomoProblem()
solve
public boolean solve()
throws AlcomoException
- Throws:
AlcomoException
init
public void init()
throws AlcomoException
- Throws:
AlcomoException
bindSourceOntology
public void bindSourceOntology(LocalOntology sourceOntology)
throws PCFException
- Sets an ontology as source ontology.
- Parameters:
sourceOntology
- The source ontology.
- Throws:
PCFException
- Thrown if source ontology already has been specified.
bindTargetOntology
public void bindTargetOntology(LocalOntology targetOntology)
throws PCFException
- Sets an ontology as target ontology.
- Parameters:
targetOntologyUri
- The target ontology.
- Throws:
PCFException
- Thrown if target ontology already has been specified.
bindMapping
public void bindMapping(Mapping inputMapping)
throws PCFException
- Sets a mapping as input mapping.
- Parameters:
inputMapping
- Input mapping for source and target ontologies.
- Throws:
PCFException
- Thrown if mapping has already been specified.
checkBindings
protected void checkBindings()
throws PCFException
- Throws:
PCFException