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.

@FunctionalInterface public interface HasGetOntologyById
Since:
3.5
Author:
Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a previously loaded/created ontology that has the specified ontology ID.
  • Method Details

    • getOntology

      @Nullable OWLOntology getOntology(OWLOntologyID ontologyID)
      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.