|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.AbstractChangeable
org.biojava.ontology.AbstractTerm
org.biojava.ontology.RemoteTerm.Impl
public static final class RemoteTerm.Impl
Simple in-memory implementation of a remote ontology term.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biojava.ontology.RemoteTerm |
---|
RemoteTerm.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 | |
---|---|
RemoteTerm.Impl(Ontology ontology,
Term remoteTerm,
String name)
|
|
RemoteTerm.Impl(Ontology ontology,
Term remoteTerm,
String name,
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. |
Term |
getRemoteTerm()
Return the imported term |
Object[] |
getSynonyms()
Return the synonyms for this term. |
void |
removeSynonym(Object synonym)
Remove a synonym for this term. |
String |
toString()
|
Methods inherited from class org.biojava.ontology.AbstractTerm |
---|
getChangeSupport |
Methods inherited from class org.biojava.utils.AbstractChangeable |
---|
addChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.biojava.utils.Changeable |
---|
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Constructor Detail |
---|
public RemoteTerm.Impl(Ontology ontology, Term remoteTerm, String name)
public RemoteTerm.Impl(Ontology ontology, Term remoteTerm, String name, Object[] synonyms)
Method Detail |
---|
public void addSynonym(Object synonym)
Term
addSynonym
in interface Term
public void removeSynonym(Object synonym)
Term
removeSynonym
in interface Term
public Object[] getSynonyms()
Term
getSynonyms
in interface Term
public String getName()
Term
getName
in interface Term
public String getDescription()
Term
getDescription
in interface Term
public Ontology getOntology()
Term
getOntology
in interface Term
public Term getRemoteTerm()
RemoteTerm
getRemoteTerm
in interface RemoteTerm
public String toString()
toString
in class Object
public Annotation getAnnotation()
Annotatable
getAnnotation
in interface Annotatable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |