public static final class RemoteTerm.Impl extends AbstractTerm implements RemoteTerm, Serializable
RemoteTerm.ImplAnnotatable.AnnotationForwarderdescriptionANNOTATION| Constructor and Description |
|---|
Impl(Ontology ontology,
Term remoteTerm,
String name) |
Impl(Ontology ontology,
Term remoteTerm,
String name,
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.
|
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() |
getChangeSupport, setDescriptionaddChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetDescriptionaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic void addSynonym(Object synonym)
TermaddSynonym in interface Termsynonym - the synonympublic void removeSynonym(Object synonym)
TermremoveSynonym in interface Termpublic Object[] getSynonyms()
TermgetSynonyms in interface Termpublic String getName()
Termpublic String getDescription()
TermgetDescription in interface Termpublic Ontology getOntology()
TermgetOntology in interface Termpublic Term getRemoteTerm()
RemoteTermgetRemoteTerm in interface RemoteTermpublic Annotation getAnnotation()
AnnotatablegetAnnotation in interface AnnotatableCopyright © 2020 BioJava. All rights reserved.