Package org.biojava.nbio.ontology
Class AbstractTerm
java.lang.Object
org.biojava.nbio.ontology.AbstractTerm
- All Implemented Interfaces:
Term
,Annotatable
- Direct Known Subclasses:
RemoteTerm.Impl
,Term.Impl
Abstract implementation of term
This provides basic change-forwarding functionality from
the annotation and ontology properties.
- Since:
- 1.4
- Author:
- Thomas Down
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDescription
(String description) set the description of the term;Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.biojava.nbio.ontology.utils.Annotatable
getAnnotation
Methods inherited from interface org.biojava.nbio.ontology.Term
addSynonym, getDescription, getName, getOntology, getSynonyms, removeSynonym
-
Field Details
-
description
-
-
Constructor Details
-
AbstractTerm
public AbstractTerm()
-
-
Method Details
-
setDescription
Description copied from interface:Term
set the description of the term;- Specified by:
setDescription
in interfaceTerm
-