de.dfleischhacker.uni.thesis.semantic
Class ClosureResult

java.lang.Object
  extended by de.dfleischhacker.uni.thesis.semantic.ClosureResult

public class ClosureResult
extends java.lang.Object

This class is used to export the data generated internally in the semantic modules to the caller. These results can be used to give an insight into the evaluation process or for debugging purposes. Its main payload is the closure of the alignment. If a new semantic has more internal results worth the export this class can be modified accordingly.


Constructor Summary
ClosureResult(Alignment closure)
          Initializes the result object to contain the given alignment closure.
 
Method Summary
 Ontology getAlignedOntology()
          Returns the aligned ontology generated by the semantic or null if the semantic does not generate something like this.
 Alignment getClosure()
          Returns the closure stored in this ClosureResult
 void setAlignedOntology(Ontology alignedOntology)
          Sets the aligned ontology.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosureResult

public ClosureResult(Alignment closure)
Initializes the result object to contain the given alignment closure. As this is the main payload of this object there is no way of initialization without providing this data.

Parameters:
closure - the generated closure
Method Detail

getClosure

public Alignment getClosure()
Returns the closure stored in this ClosureResult

Returns:
closure

setAlignedOntology

public void setAlignedOntology(Ontology alignedOntology)
Sets the aligned ontology. If the semantic does not generate anything similiar to an aligned ontology, this should be null (which it is by default when this method is not called)

Parameters:
alignedOntology - the aligned ontology

getAlignedOntology

public Ontology getAlignedOntology()
Returns the aligned ontology generated by the semantic or null if the semantic does not generate something like this.

Returns:
aligned ontology generated by the semantic or null if nothing similiar is generated by the semantic