public final class IntegerOntology.IntTerm extends Unchangeable implements Term
Annotatable.AnnotationForwarderANNOTATION| Constructor and Description |
|---|
IntTerm(int val) |
IntTerm(int val,
java.lang.Object[] synonyms) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSynonym(java.lang.Object synonym)
Add a synonym for this term.
|
Annotation |
getAnnotation()
Should return the associated annotation object.
|
java.lang.String |
getDescription()
Return a human-readable description of this term, or the empty string if
none is available.
|
java.lang.String |
getName()
Return the name of this term.
|
Ontology |
getOntology()
Return the ontology in which this term exists.
|
java.lang.Object[] |
getSynonyms()
Return the synonyms for this term.
|
int |
intValue() |
void |
removeSynonym(java.lang.Object synonym)
Remove a synonym for this term.
|
void |
setDescription(java.lang.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 IntTerm(int val)
public IntTerm(int val,
java.lang.Object[] synonyms)
public void addSynonym(java.lang.Object synonym)
TermaddSynonym in interface Termsynonym - the synonympublic void removeSynonym(java.lang.Object synonym)
TermremoveSynonym in interface Termpublic java.lang.Object[] getSynonyms()
TermgetSynonyms in interface Termpublic int intValue()
public java.lang.String getName()
Termpublic java.lang.String getDescription()
TermgetDescription in interface Termpublic void setDescription(java.lang.String description)
TermsetDescription in interface Termpublic Ontology getOntology()
TermgetOntology in interface Termpublic Annotation getAnnotation()
AnnotatablegetAnnotation in interface Annotatable