Alignment API and Server 4.2.${version.update}

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>, Cell, Visitable

public class URICell
extends BasicCell

Represents an ontology alignment correspondence between two URIs

Version:
$Id: URICell.java 1325 2010-03-10 11:47:07Z 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)
           
 URI getObject1AsURI(Alignment al)
           
 URI getObject2AsURI(Alignment al)
           
 Cell inverse()
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicCell
compareTo, compose, dump, equals, equals, getExtension, getExtensions, getId, getObject1, getObject1AsURI, getObject2, getObject2AsURI, getRelation, getSemantics, getStrength, hashCode, setExtension, setExtensions, setId, setObject1, setObject2, setRelation, setSemantics, setStrength
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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 Visitable
Overrides:
accept in class BasicCell
Throws:
AlignmentException

getObject1AsURI

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

getObject2AsURI

public URI getObject2AsURI(Alignment al)
                    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 4.2.${version.update}

(C) INRIA & friends, 2003-${curryear}