Package ubic.basecode.ontology.providers
Class NIFSTDOntologyService
- java.lang.Object
-
- ubic.basecode.ontology.jena.AbstractOntologyService
-
- ubic.basecode.ontology.jena.AbstractOntologyMemoryBackedService
-
- ubic.basecode.ontology.providers.NIFSTDOntologyService
-
- All Implemented Interfaces:
OntologyService
public class NIFSTDOntologyService extends AbstractOntologyMemoryBackedService
- Author:
- paul
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ubic.basecode.ontology.providers.OntologyService
OntologyService.InferenceMode, OntologyService.LanguageLevel
-
-
Field Summary
-
Fields inherited from class ubic.basecode.ontology.jena.AbstractOntologyService
log
-
-
Constructor Summary
Constructors Constructor Description NIFSTDOntologyService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getOntologyName()
The simple getOntologyName() of the ontology.protected String
getOntologyUrl()
Defines the location of the ontology eg: MGEDprotected OntologyModel
loadModel(boolean processImports, OntologyService.LanguageLevel languageLevel, OntologyService.InferenceMode inferenceMode)
Delegates the call as to load the model into memory or leave it on disk.-
Methods inherited from class ubic.basecode.ontology.jena.AbstractOntologyMemoryBackedService
loadModelFromStream
-
Methods inherited from class ubic.basecode.ontology.jena.AbstractOntologyService
cancelInitializationThread, closeIndex, findIndividuals, findResources, findTerm, findUsingAlternativeId, getAdditionalPropertyUris, getAllURIs, getCacheName, getChildren, getInferenceMode, getLanguageLevel, getParents, getProcessImports, getResource, getTerm, getTermIndividuals, index, initialize, initialize, isEnabled, isInitializationThreadAlive, isInitializationThreadCancelled, isOntologyLoaded, isSearchEnabled, loadTermsInNameSpace, setAdditionalPropertyUris, setInferenceMode, setLanguageLevel, setProcessImports, setSearchEnabled, startInitializationThread, toString, waitForInitializationThread
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ubic.basecode.ontology.providers.OntologyService
findIndividuals, findResources, findTerm, getChildren, getParents
-
-
-
-
Method Detail
-
getOntologyName
protected String getOntologyName()
Description copied from class:AbstractOntologyService
The simple getOntologyName() of the ontology. Used for indexing purposes. (ie this will determine the getOntologyName() of the underlying index for searching the ontology)- Specified by:
getOntologyName
in classAbstractOntologyService
-
getOntologyUrl
protected String getOntologyUrl()
Description copied from class:AbstractOntologyService
Defines the location of the ontology eg: MGED- Overrides:
getOntologyUrl
in classAbstractOntologyMemoryBackedService
-
loadModel
protected OntologyModel loadModel(boolean processImports, OntologyService.LanguageLevel languageLevel, OntologyService.InferenceMode inferenceMode)
Description copied from class:AbstractOntologyService
Delegates the call as to load the model into memory or leave it on disk. Simply delegates to either OntologyLoader.loadMemoryModel( url ); OR OntologyLoader.loadPersistentModel( url, spec );- Overrides:
loadModel
in classAbstractOntologyMemoryBackedService
-
-