Alignment API and Server 3.2

fr.inrialpes.exmo.align.impl
Class URICell

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.BasicCell
      extended by fr.inrialpes.exmo.align.impl.URICell
All Implemented Interfaces:
Comparable, Cell

public class URICell
extends BasicCell

Represents an ontology alignment correspondence between two URIs

Version:
$Id: URICell.java 524 2007-07-18 10:56:10Z euzenat $
Author:
Jérôme Euzenat

Field Summary
 
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicCell
extensions, id, object1, object2, relation, semantics, strength
 
Constructor Summary
URICell(String id, URI ob1, URI ob2, Relation rel, double m)
          Creation
 
Method Summary
 void accept(AlignmentVisitor visitor)
           
 boolean equals(Cell c)
           
 URI getObject1AsURI()
           
 URI getObject2AsURI()
           
 Cell inverse()
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicCell
compareTo, compose, dump, getExtension, getExtensions, getId, getObject1, getObject2, getRelation, getSemantics, getStrength, setExtension, setExtensions, setId, setObject1, setObject2, setRelation, setSemantics, setStrength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URICell

public URICell(String id,
               URI ob1,
               URI ob2,
               Relation rel,
               double m)
        throws AlignmentException
Creation

Throws:
AlignmentException
Method Detail

accept

public void accept(AlignmentVisitor visitor)
            throws AlignmentException
Specified by:
accept in interface Cell
Overrides:
accept in class BasicCell
Throws:
AlignmentException

equals

public boolean equals(Cell c)
Specified by:
equals in interface Cell
Overrides:
equals in class BasicCell

getObject1AsURI

public URI getObject1AsURI()
                    throws AlignmentException
Specified by:
getObject1AsURI in interface Cell
Overrides:
getObject1AsURI in class BasicCell
Throws:
AlignmentException

getObject2AsURI

public URI getObject2AsURI()
                    throws AlignmentException
Specified by:
getObject2AsURI in interface Cell
Overrides:
getObject2AsURI in class BasicCell
Throws:
AlignmentException

inverse

public Cell inverse()
             throws AlignmentException
Specified by:
inverse in interface Cell
Overrides:
inverse in class BasicCell
Throws:
AlignmentException

Alignment API and Server 3.2

(C) INRIA & friends, 2003-2008