fr.inrialpes.exmo.align.impl
Class OWLAPICell
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicCell
fr.inrialpes.exmo.align.impl.ObjectCell
fr.inrialpes.exmo.align.impl.OWLAPICell
- All Implemented Interfaces:
- Comparable<Cell>, Cell
Deprecated. OWLAPICell as been deprecated to the profit of ObjectCell
It remains here for compatibility purposes and is reimplemented in terms
of ObjectCell.
@Deprecated
public class OWLAPICell
- extends ObjectCell
Represents an ontology alignment correspondence between two URIs
- Version:
- $Id: OWLAPICell.java 728 2008-06-25 14:27:23Z euzenat $
- Author:
- Jérôme Euzenat
Constructor Summary |
OWLAPICell(String id,
org.semanticweb.owl.model.OWLEntity ob1,
org.semanticweb.owl.model.OWLEntity ob2,
Relation rel,
double m)
Deprecated. |
Method Summary |
void |
accept(AlignmentVisitor visitor)
Deprecated. |
boolean |
equals(Cell c)
Deprecated. |
URI |
getObject1AsURI(Alignment al)
Deprecated. Used to order the cells in an alignment:
-- this > c iff this.getStrength() < c.getStrength() --
public int compareTo( Cell c ){
//if ( ! (c instanceof Cell) ) return 1;
if ( c.getStrength() > getStrength() ) return 1;
if ( getStrength() > c.getStrength() ) return -1;
return 0;
} |
URI |
getObject2AsURI(Alignment al)
Deprecated. |
Cell |
inverse()
Deprecated. |
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicCell |
compareTo, getExtension, getExtensions, getId, getObject1, getObject1AsURI, getObject2, getObject2AsURI, 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 |
OWLAPICell
public OWLAPICell(String id,
org.semanticweb.owl.model.OWLEntity ob1,
org.semanticweb.owl.model.OWLEntity ob2,
Relation rel,
double m)
throws AlignmentException
- Deprecated.
- Throws:
AlignmentException
accept
public void accept(AlignmentVisitor visitor)
throws AlignmentException
- Deprecated.
- Specified by:
accept
in interface Cell
- Overrides:
accept
in class BasicCell
- Throws:
AlignmentException
equals
public boolean equals(Cell c)
- Deprecated.
- Specified by:
equals
in interface Cell
- Overrides:
equals
in class ObjectCell
getObject1AsURI
public URI getObject1AsURI(Alignment al)
throws AlignmentException
- Deprecated.
- Description copied from class:
ObjectCell
- Used to order the cells in an alignment:
-- this > c iff this.getStrength() < c.getStrength() --
public int compareTo( Cell c ){
//if ( ! (c instanceof Cell) ) return 1;
if ( c.getStrength() > getStrength() ) return 1;
if ( getStrength() > c.getStrength() ) return -1;
return 0;
}
- Specified by:
getObject1AsURI
in interface Cell
- Overrides:
getObject1AsURI
in class ObjectCell
- Throws:
AlignmentException
getObject2AsURI
public URI getObject2AsURI(Alignment al)
throws AlignmentException
- Deprecated.
- Specified by:
getObject2AsURI
in interface Cell
- Overrides:
getObject2AsURI
in class ObjectCell
- Throws:
AlignmentException
inverse
public Cell inverse()
throws AlignmentException
- Deprecated.
- Specified by:
inverse
in interface Cell
- Overrides:
inverse
in class ObjectCell
- Throws:
AlignmentException
(C) INRIA & friends, 2003-2008