de.unima.alcomox
Class AlcomoProblem

java.lang.Object
  extended by de.unima.alcomox.AlcomoProblem
Direct Known Subclasses:
ExtractionProblem

public abstract class AlcomoProblem
extends java.lang.Object


Field Summary
protected  boolean initialized
           
protected  Mapping inputMapping
           
protected  boolean solved
           
protected  LocalOntology sourceOntology
           
protected  LocalOntology targetOntology
           
 
Constructor Summary
AlcomoProblem()
           
 
Method Summary
 void bindMapping(Mapping inputMapping)
          Sets a mapping as input mapping.
 void bindSourceOntology(LocalOntology sourceOntology)
          Sets an ontology as source ontology.
 void bindTargetOntology(LocalOntology targetOntology)
          Sets an ontology as target ontology.
protected  void checkBindings()
           
 void init()
           
 boolean solve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceOntology

protected LocalOntology sourceOntology

targetOntology

protected LocalOntology targetOntology

inputMapping

protected Mapping inputMapping

solved

protected boolean solved

initialized

protected boolean initialized
Constructor Detail

AlcomoProblem

public AlcomoProblem()
Method Detail

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