Alignment API and Server 3.6

fr.inrialpes.exmo.align.impl
Class OWLAPIAlignment

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.BasicAlignment
      extended by fr.inrialpes.exmo.align.impl.ObjectAlignment
          extended by fr.inrialpes.exmo.align.impl.OWLAPIAlignment
All Implemented Interfaces:
Cloneable, Iterable<Cell>, Alignment

Deprecated. OWLAPIAlignment has been deprecated to the profit of ObjectAlignment It remains here for compatibility purposes and is reimplemented in terms of ObjectAlignment.

@Deprecated
public class OWLAPIAlignment
extends ObjectAlignment

Represents an OWL ontology alignment. An ontology comprises a number of collections. Each ontology has a number of classes, properties and individuals, along with a number of axioms asserting information about those objects.

Version:
$Id: OWLAPIAlignment.java 875 2008-10-19 13:49:32Z euzenat $
Author:
Jérôme Euzenat

Field Summary
protected  OWLAPIAlignment init
          Deprecated.  
 
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
debug, extensions, hash1, hash2, level, namespaces, onto1, onto2, time, type
 
Constructor Summary
OWLAPIAlignment()
          Deprecated.  
 
Method Summary
 Cell addAlignCell(Object ob1, Object ob2)
          Deprecated.  
 Cell addAlignCell(Object ob1, Object ob2, String relation, double measure)
          Deprecated. Cells are created and indexed at once
 Cell addAlignCell(String id, Object ob1, Object ob2, Relation relation, double measure)
          Deprecated.  
 Cell addAlignCell(String id, Object ob1, Object ob2, Relation relation, double measure, Parameters extensions)
          Deprecated. Cell methods
 Cell createCell(String id, Object ob1, Object ob2, Relation relation, double measure)
          Deprecated.  
 OWLAPIAlignment createNewAlignment(Object onto1, Object onto2)
          Deprecated. Generate a copy of this alignment object
 Cell getAlignCell1(Object ob)
          Deprecated. implemented as the one retrieving the highest strength correspondence
 Cell getAlignCell2(Object ob)
          Deprecated. implemented as the one retrieving the highest strength correspondence
 Set<Cell> getAlignCells1(Object ob)
          Deprecated. Cells are retrieved These primitives are deprecated.
 Set<Cell> getAlignCells2(Object ob)
          Deprecated.  
private static org.semanticweb.owl.model.OWLEntity getEntity(org.semanticweb.owl.model.OWLOntology ontology, URI uri)
          Deprecated.  
 URI getOntology1URI()
          Deprecated.  
 URI getOntology2URI()
          Deprecated.  
 void init(Object onto1, Object onto2)
          Deprecated. Initialize the alignement before using it
 void loadInit(Alignment al)
          Deprecated.  
static OWLAPIAlignment toOWLAPIAlignment(URIAlignment al)
          Deprecated.  
 URIAlignment toURIAlignment()
          Deprecated. This is a clone with the URI instead of OWLAPI objects
 
Methods inherited from class fr.inrialpes.exmo.align.impl.ObjectAlignment
loadOntology, ontology1, ontology2, toObjectAlignment
 
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
accept, addCell, cleanUp, clone, compose, cut, cut, cut2, diff, dump, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getOntologyObject1, getOntologyObject2, getParameters, getType, getXNamespace, getXNamespaces, harden, ingest, init, inverse, iterator, join, meet, nbCells, removeAlignCell, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType, setXNamespace
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

init

protected OWLAPIAlignment init
Deprecated. 
Constructor Detail

OWLAPIAlignment

public OWLAPIAlignment()
Deprecated. 
Method Detail

init

public void init(Object onto1,
                 Object onto2)
          throws AlignmentException
Deprecated. 
Description copied from interface: Alignment
Initialize the alignement before using it

Specified by:
init in interface Alignment
Overrides:
init in class ObjectAlignment
Throws:
AlignmentException

loadInit

public void loadInit(Alignment al)
              throws AlignmentException
Deprecated. 
Overrides:
loadInit in class ObjectAlignment
Throws:
AlignmentException

getOntology1URI

public URI getOntology1URI()
Deprecated. 
Specified by:
getOntology1URI in interface Alignment
Overrides:
getOntology1URI in class ObjectAlignment

getOntology2URI

public URI getOntology2URI()
Deprecated. 
Specified by:
getOntology2URI in interface Alignment
Overrides:
getOntology2URI in class ObjectAlignment

addAlignCell

public Cell addAlignCell(String id,
                         Object ob1,
                         Object ob2,
                         Relation relation,
                         double measure,
                         Parameters extensions)
                  throws AlignmentException
Deprecated. 
Cell methods

Overrides:
addAlignCell in class BasicAlignment
Throws:
AlignmentException

addAlignCell

public Cell addAlignCell(String id,
                         Object ob1,
                         Object ob2,
                         Relation relation,
                         double measure)
                  throws AlignmentException
Deprecated. 
Overrides:
addAlignCell in class BasicAlignment
Throws:
AlignmentException

addAlignCell

public Cell addAlignCell(Object ob1,
                         Object ob2,
                         String relation,
                         double measure)
                  throws AlignmentException
Deprecated. 
Description copied from interface: Alignment
Cells are created and indexed at once

Specified by:
addAlignCell in interface Alignment
Overrides:
addAlignCell in class BasicAlignment
Throws:
AlignmentException

addAlignCell

public Cell addAlignCell(Object ob1,
                         Object ob2)
                  throws AlignmentException
Deprecated. 
Specified by:
addAlignCell in interface Alignment
Overrides:
addAlignCell in class BasicAlignment
Throws:
AlignmentException

createCell

public Cell createCell(String id,
                       Object ob1,
                       Object ob2,
                       Relation relation,
                       double measure)
                throws AlignmentException
Deprecated. 
Overrides:
createCell in class ObjectAlignment
Throws:
AlignmentException

getAlignCells1

public Set<Cell> getAlignCells1(Object ob)
                         throws AlignmentException
Deprecated. 
Description copied from interface: Alignment
Cells are retrieved These primitives are deprecated. Use getAlignCells1 and getAlignCells2 instead. Reason: this applies only for 1:1 alignments Some implementations might act cleverly (retrieving the best value). Basic implementations may raise the exception

Specified by:
getAlignCells1 in interface Alignment
Overrides:
getAlignCells1 in class BasicAlignment
Throws:
AlignmentException

getAlignCells2

public Set<Cell> getAlignCells2(Object ob)
                         throws AlignmentException
Deprecated. 
Specified by:
getAlignCells2 in interface Alignment
Overrides:
getAlignCells2 in class BasicAlignment
Throws:
AlignmentException

getAlignCell1

@Deprecated
public Cell getAlignCell1(Object ob)
                   throws AlignmentException
Deprecated. implemented as the one retrieving the highest strength correspondence

Description copied from interface: Alignment
Cells are retrieved These primitives are deprecated. Use getAlignCells1 and getAlignCells2 instead. Reason: this applies only for 1:1 alignments Some implementations might act cleverly (retrieving the best value). Basic implementations may raise the exception //@deprecated There is more than one cell about one object

Specified by:
getAlignCell1 in interface Alignment
Overrides:
getAlignCell1 in class BasicAlignment
Throws:
AlignmentException

getAlignCell2

@Deprecated
public Cell getAlignCell2(Object ob)
                   throws AlignmentException
Deprecated. implemented as the one retrieving the highest strength correspondence

Description copied from interface: Alignment
//@deprecated There is more than one cell about one object

Specified by:
getAlignCell2 in interface Alignment
Overrides:
getAlignCell2 in class BasicAlignment
Throws:
AlignmentException

createNewAlignment

public OWLAPIAlignment createNewAlignment(Object onto1,
                                          Object onto2)
                                   throws AlignmentException
Deprecated. 
Description copied from class: ObjectAlignment
Generate a copy of this alignment object

Overrides:
createNewAlignment in class ObjectAlignment
Throws:
AlignmentException

toURIAlignment

public URIAlignment toURIAlignment()
                            throws AlignmentException
Deprecated. 
This is a clone with the URI instead of OWLAPI objects

Overrides:
toURIAlignment in class ObjectAlignment
Throws:
AlignmentException

toOWLAPIAlignment

public static OWLAPIAlignment toOWLAPIAlignment(URIAlignment al)
                                         throws AlignmentException,
                                                SAXException,
                                                org.semanticweb.owl.model.OWLException
Deprecated. 
Throws:
AlignmentException
SAXException
org.semanticweb.owl.model.OWLException

getEntity

private static org.semanticweb.owl.model.OWLEntity getEntity(org.semanticweb.owl.model.OWLOntology ontology,
                                                             URI uri)
                                                      throws org.semanticweb.owl.model.OWLException,
                                                             SAXException
Deprecated. 
Throws:
org.semanticweb.owl.model.OWLException
SAXException

Alignment API and Server 3.6

(C) INRIA & friends, 2003-2008