Package org.biojava.nbio.ontology
Interface OntologyTerm
-
- All Superinterfaces:
Annotatable
,Term
- All Known Implementing Classes:
OntologyTerm.Impl
public interface OntologyTerm extends Term
A term in an ontology which identifies another ontology.This Term type has an associated ontology. It is meant to represent that ontology so that you can reason over them. For example, you could add information to an Ontology containing an OntologyTerm stating how the OntologyTerm's Ontology relates to other entities. This allows classifications of Ontologies to be built. You could say that GO is a biological ontology, as is SO or perhaps declare something about the source of the information.
- Since:
- 1.4
- Author:
- Thomas Down, Matthew Pocock
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OntologyTerm.Impl
Simple in-memory implementation of a remote ontology term.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ontology
getOntology()
Get the remote ontology referenced by this term-
Methods inherited from interface org.biojava.nbio.ontology.utils.Annotatable
getAnnotation
-
Methods inherited from interface org.biojava.nbio.ontology.Term
addSynonym, getDescription, getName, getSynonyms, removeSynonym, setDescription
-
-
-
-
Method Detail
-
getOntology
Ontology getOntology()
Get the remote ontology referenced by this term- Specified by:
getOntology
in interfaceTerm
- Returns:
- the ontology
-
-