Alignment API and Server 3.6

fr.inrialpes.exmo.align.impl
Class BasicOntologyNetwork

java.lang.Object
  extended by 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

Field Summary
private  HashSet<Alignment> alignments
           
private  Hashtable<URI,OntologyTriple> ontologies
           
 
Constructor Summary
BasicOntologyNetwork()
           
 
Method Summary
 void addAlignment(Alignment al)
           
 void addOntology(URI onto)
           
 Set<Alignment> getAlignments()
           
 Set<URI> getOntologies()
           
 Set<Alignment> getSourceAlignments(URI onto)
           
 Set<Alignment> getTargetingAlignments(URI onto)
           
 void remAlignment(Alignment al)
           
 void remOntology(URI onto)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ontologies

private Hashtable<URI,OntologyTriple> ontologies

alignments

private HashSet<Alignment> alignments
Constructor Detail

BasicOntologyNetwork

public BasicOntologyNetwork()
Method Detail

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

Alignment API and Server 3.6

(C) INRIA & friends, 2003-2008