Package org.biojava.nbio.ontology
Interface OntologyTerm
- All Superinterfaces:
Annotatable
,Term
- All Known Implementing Classes:
OntologyTerm.Impl
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
Modifier and TypeInterfaceDescriptionstatic final class
Simple in-memory implementation of a remote ontology term. -
Method Summary
Modifier and TypeMethodDescriptionGet the remote ontology referenced by this termMethods 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 Details
-
getOntology
Ontology getOntology()Get the remote ontology referenced by this term- Specified by:
getOntology
in interfaceTerm
- Returns:
- the ontology
-