Package org.semanticweb.owlapi.model
Interface HasGetOntologyById
- All Known Subinterfaces:
OWLOntologyManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 3.5
- Author:
- Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
-
Method Summary
Modifier and TypeMethodDescriptiongetOntology
(OWLOntologyID ontologyID) Get a previously loaded/created ontology that has the specified ontology ID.
-
Method Details
-
getOntology
Get a previously loaded/created ontology that has the specified ontology ID. For anonymous ids, this method tries to locate the ontology by document IRI.- Parameters:
ontologyID
- The ID of the ontology to retrieve.- Returns:
- The ontology with the specified ID, or
null
if there is no ontology with the specified ID.
-