net.sourceforge.fluxion.runcible.graph
Interface OWLGraph

All Superinterfaces:
Graph
All Known Implementing Classes:
DefaultGraph

public interface OWLGraph
extends Graph

A graph which captures information about the arrangement of nodes in an OWL Ontology. The graph itself is linked to an ontology, and the nodes and edges within this graph represent OWL concepts.

Version:
1.0
Author:
Tony Burdett

Method Summary
 org.semanticweb.owl.model.OWLOntology getOWLOntology()
          Returns the Protege OWLModel for this graph.
 void setOWLOntology(org.semanticweb.owl.model.OWLOntology ontology)
          Directly sets the pre-loaded OWLOntology
 void setOWLOntologyLocation(java.net.URL ontologyLocation)
          Sets the ontology this graph represents given the URL to the location of OWL file.
 
Methods inherited from interface net.sourceforge.fluxion.graph.Graph
accept, add, add, addGraphListener, cascadeChanges, contains, contains, getAllNodes, getLeadingEdges, getName, getNode, getRootNodes, getTailingEdges, remove, remove, removeAll, removeGraphListener, setAsRoot, setName
 

Method Detail

getOWLOntology

org.semanticweb.owl.model.OWLOntology getOWLOntology()
Returns the Protege OWLModel for this graph. This will be loaded using the URI of the ontology, if it is not already in memory.

Returns:
the loaded OWLOntology

setOWLOntology

void setOWLOntology(org.semanticweb.owl.model.OWLOntology ontology)
Directly sets the pre-loaded OWLOntology

Parameters:
ontology - the ontology to use in this graph

setOWLOntologyLocation

void setOWLOntologyLocation(java.net.URL ontologyLocation)
Sets the ontology this graph represents given the URL to the location of OWL file. This should only be set if the URL of the ontology is different to the URI, for instance when an ontology has been generated and given a namespace URI but not deployed to the actual location.

Parameters:
ontologyLocation - the URL corresponding to the physical location of this ontology


Copyright © 2010. All Rights Reserved.