public final class IntegerOntology.IntTerm extends Unchangeable implements Term
Annotatable.AnnotationForwarderANNOTATION| Constructor and Description |
|---|
IntegerOntology.IntTerm(int val) |
IntegerOntology.IntTerm(int val,
Object[] synonyms) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSynonym(Object synonym)
Add a synonym for this term.
|
Annotation |
getAnnotation()
Should return the associated annotation object.
|
String |
getDescription()
Return a human-readable description of this term, or the empty string if
none is available.
|
String |
getName()
Return the name of this term.
|
Ontology |
getOntology()
Return the ontology in which this term exists.
|
Object[] |
getSynonyms()
Return the synonyms for this term.
|
int |
intValue() |
void |
removeSynonym(Object synonym)
Remove a synonym for this term.
|
void |
setDescription(String description)
set the description of the term;
|
addChangeListener, addChangeListener, addForwarder, getForwarders, getListeners, isUnchanging, removeChangeListener, removeChangeListener, removeForwarderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic IntegerOntology.IntTerm(int val)
public IntegerOntology.IntTerm(int val, Object[] synonyms)
public void addSynonym(Object synonym)
TermaddSynonym in interface Termsynonym - the synonympublic void removeSynonym(Object synonym)
TermremoveSynonym in interface Termpublic Object[] getSynonyms()
TermgetSynonyms in interface Termpublic int intValue()
public String getName()
Termpublic String getDescription()
TermgetDescription in interface Termpublic void setDescription(String description)
TermsetDescription in interface Termpublic Ontology getOntology()
TermgetOntology in interface Termpublic Annotation getAnnotation()
AnnotatablegetAnnotation in interface AnnotatableCopyright © 2014 BioJava. All rights reserved.