Class MIOlsOntology
- java.lang.Object
-
- psidev.psi.mi.jami.bridges.ontologymanager.impl.AbstractMIOntologyAccess
-
- psidev.psi.mi.jami.bridges.ontologymanager.impl.ols.MIOlsOntology
-
- All Implemented Interfaces:
MIOntologyAccess
,psidev.psi.tools.ontology_manager.interfaces.OntologyAccessTemplate<MIOntologyTermI>
public class MIOlsOntology extends AbstractMIOntologyAccess
jami extension for OlsOntology- Since:
01/11/11
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.Log
log
Constantlog
-
Constructor Summary
Constructors Constructor Description MIOlsOntology()
Constructor for MIOlsOntology.MIOlsOntology(String dbName, String dbIdentifier, Pattern dbRegexp, String parent)
Constructor for MIOlsOntology.MIOlsOntology(OntologyTermFetcher termBuilder)
Constructor for MIOlsOntology.MIOlsOntology(OntologyTermFetcher termBuilder, String dbName, String dbIdentifier, Pattern dbRegexp, String parent)
Constructor for MIOlsOntology.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOntologyUpToDate()
isOntologyUpToDate.void
loadOntology(String ontologyID, String name, String version, String format, URI uri)
-
Methods inherited from class psidev.psi.mi.jami.bridges.ontologymanager.impl.AbstractMIOntologyAccess
createNewOntologyTerm, getAllChildren, getAllParents, getDatabaseIdentifier, getDatabaseName, getDatabaseRegexp, getDirectChildren, getDirectParents, getOntologyID, getOntologyTermFetcher, getParentFromOtherOntology, getRootTerms, getTermForAccession, getValidTerms, isObsolete, isUseTermSynonyms, setOntologyDirectory, setOntologyID, setOntologyTermFetcher, setUseTermSynonyms
-
-
-
-
Constructor Detail
-
MIOlsOntology
public MIOlsOntology() throws psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
Constructor for MIOlsOntology.
- Throws:
psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
- if any.
-
MIOlsOntology
public MIOlsOntology(OntologyTermFetcher termBuilder) throws psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
Constructor for MIOlsOntology.
- Parameters:
termBuilder
- aOntologyTermFetcher
object.- Throws:
psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
- if any.
-
MIOlsOntology
public MIOlsOntology(String dbName, String dbIdentifier, Pattern dbRegexp, String parent) throws psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
Constructor for MIOlsOntology.
-
MIOlsOntology
public MIOlsOntology(OntologyTermFetcher termBuilder, String dbName, String dbIdentifier, Pattern dbRegexp, String parent) throws psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
Constructor for MIOlsOntology.
- Parameters:
termBuilder
- aOntologyTermFetcher
object.dbName
- aString
object.dbIdentifier
- aString
object.dbRegexp
- aPattern
object.parent
- aString
object.- Throws:
psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
- if any.
-
-
Method Detail
-
loadOntology
public void loadOntology(String ontologyID, String name, String version, String format, URI uri) throws psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
- Specified by:
loadOntology
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyAccessTemplate<MIOntologyTermI>
- Specified by:
loadOntology
in classAbstractMIOntologyAccess
- Throws:
psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
-
isOntologyUpToDate
public boolean isOntologyUpToDate() throws psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
isOntologyUpToDate.
- Specified by:
isOntologyUpToDate
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyAccessTemplate<MIOntologyTermI>
- Specified by:
isOntologyUpToDate
in classAbstractMIOntologyAccess
- Returns:
- a boolean.
- Throws:
psidev.psi.tools.ontology_manager.impl.local.OntologyLoaderException
- if any.
-
-