|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.utils.Unchangeable
org.biojava.ontology.IntegerOntology.IntTerm
public final class IntegerOntology.IntTerm
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.biojava.ontology.Term |
|---|
Term.Impl |
| Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable |
|---|
Annotatable.AnnotationForwarder |
| Field Summary |
|---|
| Fields inherited from interface org.biojava.ontology.Term |
|---|
ONTOLOGY |
| Fields inherited from interface org.biojava.bio.Annotatable |
|---|
ANNOTATION |
| Constructor Summary | |
|---|---|
IntegerOntology.IntTerm(int val)
|
|
IntegerOntology.IntTerm(int val,
Object[] synonyms)
|
|
| Method Summary | |
|---|---|
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; |
| Methods inherited from class org.biojava.utils.Unchangeable |
|---|
addChangeListener, addChangeListener, addForwarder, getForwarders, getListeners, isUnchanging, removeChangeListener, removeChangeListener, removeForwarder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.biojava.utils.Changeable |
|---|
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
| Constructor Detail |
|---|
public IntegerOntology.IntTerm(int val)
public IntegerOntology.IntTerm(int val,
Object[] synonyms)
| Method Detail |
|---|
public void addSynonym(Object synonym)
Term
addSynonym in interface Termsynonym - the synonympublic void removeSynonym(Object synonym)
Term
removeSynonym in interface Termpublic Object[] getSynonyms()
Term
getSynonyms in interface Termpublic int intValue()
public String getName()
Term
getName in interface Termpublic String getDescription()
Term
getDescription in interface Termpublic void setDescription(String description)
Term
setDescription in interface Termpublic Ontology getOntology()
Term
getOntology in interface Termpublic Annotation getAnnotation()
Annotatable
getAnnotation in interface Annotatable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||