Package 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
Nested Classes Modifier and Type Interface Description static class
OntologyTerm.Impl
Simple in-memory implementation of a remote ontology term.-
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable
Annotatable.AnnotationForwarder
-
-
Field Summary
-
Fields inherited from interface org.biojava.bio.Annotatable
ANNOTATION
-
-
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.bio.Annotatable
getAnnotation
-
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
-
Methods inherited from interface org.biojava.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
-
-