fr.inrialpes.exmo.align.impl
Class BasicOntologyNetwork
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicOntologyNetwork
- All Implemented Interfaces:
- Cloneable, OntologyNetwork
- Direct Known Subclasses:
- IDDLOntologyNetwork
public class BasicOntologyNetwork
- extends Object
- implements OntologyNetwork
Represents a distributed system of aligned ontologies or network of ontologies.
- Version:
- $Id: BasicOntologyNetwork.java 1620 2011-05-31 13:49:54Z jdavid $
- Author:
- J�r�me Euzenat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ontologies
protected Hashtable<URI,OntologyTriple> ontologies
alignments
protected HashSet<Alignment> alignments
onto2Align
protected HashMap<URI,Map<URI,Set<Alignment>>> onto2Align
BasicOntologyNetwork
public BasicOntologyNetwork()
addOntology
public void addOntology(URI onto)
- Specified by:
addOntology
in interface OntologyNetwork
remOntology
public void remOntology(URI onto)
throws AlignmentException
- Specified by:
remOntology
in interface OntologyNetwork
- Throws:
AlignmentException
addAlignment
public void addAlignment(Alignment al)
throws AlignmentException
- Specified by:
addAlignment
in interface OntologyNetwork
- Throws:
AlignmentException
remAlignment
public void remAlignment(Alignment al)
throws AlignmentException
- Specified by:
remAlignment
in interface OntologyNetwork
- Throws:
AlignmentException
getAlignments
public Set<Alignment> getAlignments()
- Specified by:
getAlignments
in interface OntologyNetwork
getOntologies
public Set<URI> getOntologies()
- Specified by:
getOntologies
in interface OntologyNetwork
getTargetingAlignments
public Set<Alignment> getTargetingAlignments(URI onto)
- Specified by:
getTargetingAlignments
in interface OntologyNetwork
getSourceAlignments
public Set<Alignment> getSourceAlignments(URI onto)
- Specified by:
getSourceAlignments
in interface OntologyNetwork
invert
public void invert()
throws AlignmentException
- Description copied from interface:
OntologyNetwork
- close reflexively the network.
The network is modified.
- Specified by:
invert
in interface OntologyNetwork
- Throws:
AlignmentException
getAlignments
public Set<Alignment> getAlignments(URI srcOnto,
URI dstOnto)
- Specified by:
getAlignments
in interface OntologyNetwork
(C) INRIA & friends, 2003-${curryear}