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
 
 public abstract class AbstractTerm extends Object implements Term Abstract implementation of term This provides basic change-forwarding functionality from the annotation and ontology properties.- Since:
- 1.4
- Author:
- Thomas Down
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Stringdescription
 - 
Constructor SummaryConstructors Constructor Description AbstractTerm()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetDescription(String description)set the description of the term;- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.biojava.nbio.ontology.utils.AnnotatablegetAnnotation
 - 
Methods inherited from interface org.biojava.nbio.ontology.TermaddSynonym, getDescription, getName, getOntology, getSynonyms, removeSynonym
 
- 
 
- 
- 
- 
Field Detail- 
descriptionprotected String description 
 
- 
 - 
Constructor Detail- 
AbstractTermpublic AbstractTerm() 
 
- 
 - 
Method Detail- 
setDescriptionpublic void setDescription(String description) Description copied from interface:Termset the description of the term;- Specified by:
- setDescriptionin interface- Term
 
 
- 
 
-