org.biojava.ontology
Interface OntologyTerm
- All Superinterfaces:
- Annotatable, Changeable, 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 |
static class |
OntologyTerm.Impl
Simple in-memory implementation of a remote ontology term. |
Fields inherited from interface org.biojava.ontology.Term |
ONTOLOGY |
getOntology
Ontology getOntology()
- Get the remote ontology referenced by this term
- Specified by:
getOntology
in interface Term
- Returns:
- the ontology