INRIA & UMontrŽal

org.semanticweb.owl.align
Interface Alignment

All Known Subinterfaces:
AlignmentProcess
All Known Implementing Classes:
BasicAlignment, ClassNameEqAlignment, EditDistNameAlignment, NameEqAlignment

public interface Alignment

Represents an OWL ontology alignment.

Version:
$Id: Alignment.java,v 1.1.1.1 2004/01/22 14:31:08 euzenat Exp $
Author:
Jérôme Euzenat

Method Summary
 void addAlignCell(OWLEntity ob1, OWLEntity ob2)
           
 void addAlignCell(OWLEntity ob1, OWLEntity ob, java.lang.String relation, double measure)
          Cells are created and indexed at once
 void dump(org.xml.sax.ContentHandler h)
          Dump should be implemented as a method generating SAX events for a SAXHandler provided as input
 double getAlignedMeasure1(OWLEntity ob)
           
 double getAlignedMeasure2(OWLEntity ob)
           
 OWLEntity getAlignedObject1(OWLEntity ob)
          Each part of the cell can be queried independently.
 OWLEntity getAlignedObject2(OWLEntity ob)
           
 Relation getAlignedRelation1(OWLEntity ob)
           
 Relation getAlignedRelation2(OWLEntity ob)
           
 OWLOntology getOntology1()
          The alignment has reference to the two aligned ontology.
 OWLOntology getOntology2()
           
 java.lang.String getType()
           
 void setOntology1(OWLOntology ontology)
           
 void setOntology2(OWLOntology ontology)
           
 void setType(java.lang.String type)
          Alignment type: Currently defined a sa String.
 void write(java.io.PrintStream writer)
           
 

Method Detail

getOntology1

public OWLOntology getOntology1()
The alignment has reference to the two aligned ontology. All Alignment cells contain firts the entity from the first ontology The alignment is from the first ontology to the second.


getOntology2

public OWLOntology getOntology2()

setOntology1

public void setOntology1(OWLOntology ontology)

setOntology2

public void setOntology2(OWLOntology ontology)

setType

public void setType(java.lang.String type)
Alignment type: Currently defined a sa String. This string is supposed to contain two characters: among ?, 1, *, + Can be implemented otherwise


getType

public java.lang.String getType()

addAlignCell

public void addAlignCell(OWLEntity ob1,
                         OWLEntity ob,
                         java.lang.String relation,
                         double measure)
                  throws OWLException
Cells are created and indexed at once

OWLException

addAlignCell

public void addAlignCell(OWLEntity ob1,
                         OWLEntity ob2)
                  throws OWLException
OWLException

getAlignedObject1

public OWLEntity getAlignedObject1(OWLEntity ob)
                            throws OWLException
Each part of the cell can be queried independently. There is not cell access out of the alignment objects.

OWLException

getAlignedObject2

public OWLEntity getAlignedObject2(OWLEntity ob)
                            throws OWLException
OWLException

getAlignedRelation1

public Relation getAlignedRelation1(OWLEntity ob)
                             throws OWLException
OWLException

getAlignedRelation2

public Relation getAlignedRelation2(OWLEntity ob)
                             throws OWLException
OWLException

getAlignedMeasure1

public double getAlignedMeasure1(OWLEntity ob)
                          throws OWLException
OWLException

getAlignedMeasure2

public double getAlignedMeasure2(OWLEntity ob)
                          throws OWLException
OWLException

dump

public void dump(org.xml.sax.ContentHandler h)
Dump should be implemented as a method generating SAX events for a SAXHandler provided as input


write

public void write(java.io.PrintStream writer)
           throws java.io.IOException,
                  org.semanticweb.owl.model.OWLException
java.io.IOException
org.semanticweb.owl.model.OWLException

INRIA & UMontrŽal

..no bottom yet...