INRIA & UMontrŽal

org.semanticweb.owl.align
Interface Alignment

All Known Subinterfaces:
AlignmentProcess
All Known Implementing Classes:
BasicAlignment, ClassNameAlignment, ClassNameEqAlignment, ClassStructAlignment, EditDistNameAlignment, JWNLAlignmentTest, NameAndPropertyAlignment, NameEqAlignment, PropSubsDistAlignment, StrucSubsDistAlignment, SubsDistNameAlignment

public interface Alignment

Represents an OWL ontology alignment.

Version:
$Id: Alignment.java,v 1.9 2004/11/23 09:40:54 euzenat Exp $
Author:
Jérôme Euzenat

Method Summary
 void accept(AlignmentVisitor visitor)
          Alignment methods
 Cell addAlignCell(java.lang.Object ob1, java.lang.Object ob2)
           
 Cell addAlignCell(java.lang.Object ob1, java.lang.Object ob, java.lang.String relation, double measure)
          Cells are created and indexed at once
 Alignment compose(Alignment align)
           
 void cut(double threshold)
           
 void cut(java.lang.String method, double threshold)
           
 void dump(org.xml.sax.ContentHandler h)
          Dump should be implemented as a method generating SAX events for a SAXHandler provided as input
 Cell getAlignCell1(java.lang.Object ob)
           
 Cell getAlignCell2(java.lang.Object ob)
           
 java.lang.Object getAlignedObject1(java.lang.Object ob)
          Each part of the cell can be queried independently.
 java.lang.Object getAlignedObject2(java.lang.Object ob)
           
 Relation getAlignedRelation1(java.lang.Object ob)
           
 Relation getAlignedRelation2(java.lang.Object ob)
           
 double getAlignedStrength1(java.lang.Object ob)
           
 double getAlignedStrength2(java.lang.Object ob)
           
 java.util.Enumeration getElements()
           
 java.net.URI getFile1()
           
 java.net.URI getFile2()
           
 java.lang.String getLevel()
           
 java.lang.Object getOntology1()
          The alignment has reference to the two aligned ontology.
 java.lang.Object getOntology2()
           
 java.lang.String getType()
           
 void harden(double threshold)
           
 void inverse()
          Algebra of alignment manipulation operations: compose, join, meet.
 Alignment join(Alignment align)
           
 Alignment meet(Alignment align)
           
 int nbCells()
           
 void render(AlignmentVisitor renderer)
          Exporting The alignments are exported for other purposes.
 void setFile1(java.net.URI type)
          Alignment type: Currently defined a sa String.
 void setFile2(java.net.URI type)
           
 void setLevel(java.lang.String level)
          Alignment type: Currently defined a sa String.
 void setOntology1(java.lang.Object ontology)
           
 void setOntology2(java.lang.Object ontology)
           
 void setType(java.lang.String type)
          Alignment type: Currently defined a sa String.
 

Method Detail

accept

public void accept(AlignmentVisitor visitor)
            throws AlignmentException
Alignment methods

Throws:
AlignmentException

getOntology1

public java.lang.Object 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 java.lang.Object getOntology2()

setOntology1

public void setOntology1(java.lang.Object ontology)
                  throws AlignmentException
Throws:
AlignmentException

setOntology2

public void setOntology2(java.lang.Object ontology)
                  throws AlignmentException
Throws:
AlignmentException

setLevel

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


getLevel

public java.lang.String getLevel()

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()

setFile1

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


setFile2

public void setFile2(java.net.URI type)

getFile1

public java.net.URI getFile1()

getFile2

public java.net.URI getFile2()

addAlignCell

public Cell addAlignCell(java.lang.Object ob1,
                         java.lang.Object ob,
                         java.lang.String relation,
                         double measure)
                  throws AlignmentException
Cells are created and indexed at once

Throws:
AlignmentException

addAlignCell

public Cell addAlignCell(java.lang.Object ob1,
                         java.lang.Object ob2)
                  throws AlignmentException
Throws:
AlignmentException

getAlignCell1

public Cell getAlignCell1(java.lang.Object ob)
                   throws AlignmentException
Throws:
AlignmentException

getAlignCell2

public Cell getAlignCell2(java.lang.Object ob)
                   throws AlignmentException
Throws:
AlignmentException

getAlignedObject1

public java.lang.Object getAlignedObject1(java.lang.Object ob)
                                   throws AlignmentException
Each part of the cell can be queried independently. There is not cell access out of the alignment objects.

Throws:
AlignmentException

getAlignedObject2

public java.lang.Object getAlignedObject2(java.lang.Object ob)
                                   throws AlignmentException
Throws:
AlignmentException

getAlignedRelation1

public Relation getAlignedRelation1(java.lang.Object ob)
                             throws AlignmentException
Throws:
AlignmentException

getAlignedRelation2

public Relation getAlignedRelation2(java.lang.Object ob)
                             throws AlignmentException
Throws:
AlignmentException

getAlignedStrength1

public double getAlignedStrength1(java.lang.Object ob)
                           throws AlignmentException
Throws:
AlignmentException

getAlignedStrength2

public double getAlignedStrength2(java.lang.Object ob)
                           throws AlignmentException
Throws:
AlignmentException

getElements

public java.util.Enumeration getElements()

nbCells

public int nbCells()

cut

public void cut(java.lang.String method,
                double threshold)
         throws AlignmentException
Throws:
AlignmentException

cut

public void cut(double threshold)
         throws AlignmentException
Throws:
AlignmentException

harden

public void harden(double threshold)
            throws AlignmentException
Throws:
AlignmentException

inverse

public void inverse()
             throws AlignmentException
Algebra of alignment manipulation operations: compose, join, meet.

Throws:
AlignmentException

meet

public Alignment meet(Alignment align)
               throws AlignmentException
Throws:
AlignmentException

join

public Alignment join(Alignment align)
               throws AlignmentException
Throws:
AlignmentException

compose

public Alignment compose(Alignment align)
                  throws AlignmentException
Throws:
AlignmentException

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


render

public void render(AlignmentVisitor renderer)
            throws AlignmentException
Exporting The alignments are exported for other purposes.

Throws:
AlignmentException

INRIA & UMontrŽal

..no bottom yet...