public class GenericOntologyService extends AbstractOntologyService
AbstractOntologyService.OntologyInitializationThread
cacheReady, index, indexReady, individuals, initializationThread, isInitialized, log, model, modelReady, terms
Constructor and Description |
---|
GenericOntologyService(String name,
String url) |
GenericOntologyService(String name,
String url,
boolean cache) |
Modifier and Type | Method and Description |
---|---|
protected String |
getOntologyName()
The simple name of the ontology.
|
protected String |
getOntologyUrl()
Defines the location of the ontology eg: http://mged.sourceforge.net/ontologies/MGEDOntology.owl
|
protected com.hp.hpl.jena.ontology.OntModel |
loadModel()
Delegates the call as to load the model into memory or leave it on disk.
|
addTerms, closeIndex, findIndividuals, findResources, findTerm, findUsingAlternativeId, getAllURIs, getModel, getResource, getTerm, getTermIndividuals, index, isEnabled, isInitializationThreadAlive, isOntologyLoaded, loadTermsInNameSpace, startInitializationThread
protected String getOntologyName()
AbstractOntologyService
getOntologyName
in class AbstractOntologyService
protected String getOntologyUrl()
AbstractOntologyService
getOntologyUrl
in class AbstractOntologyService
protected com.hp.hpl.jena.ontology.OntModel loadModel()
AbstractOntologyService
loadModel
in class AbstractOntologyService
Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.