fr.inrialpes.exmo.align.impl
Class BasicOntologyNetwork
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicOntologyNetwork
- All Implemented Interfaces:
- Cloneable, OntologyNetwork
public class BasicOntologyNetwork
- extends Object
- implements OntologyNetwork
Represents a distributed system of aligned ontologies or network of ontologies.
- Version:
- $Id: BasicOntologyNetwork.java 987 2009-05-27 13:48:33Z euzenat $
- Author:
- Jérôme Euzenat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ontologies
private Hashtable<URI,OntologyTriple> ontologies
alignments
private HashSet<Alignment> alignments
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
(C) INRIA & friends, 2003-2008