public static final class RemoteTerm.Impl extends AbstractTerm implements RemoteTerm, java.io.Serializable
RemoteTerm.ImplAnnotatable.AnnotationForwarderdescriptionANNOTATION| Constructor and Description |
|---|
RemoteTerm.Impl(Ontology ontology,
Term remoteTerm,
java.lang.String name) |
RemoteTerm.Impl(Ontology ontology,
Term remoteTerm,
java.lang.String name,
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.
|
Term |
getRemoteTerm()
Return the imported term
|
java.lang.Object[] |
getSynonyms()
Return the synonyms for this term.
|
void |
removeSynonym(java.lang.Object synonym)
Remove a synonym for this term.
|
java.lang.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(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 java.lang.String getName()
Termpublic java.lang.String getDescription()
TermgetDescription in interface Termpublic Ontology getOntology()
TermgetOntology in interface Termpublic Term getRemoteTerm()
RemoteTermgetRemoteTerm in interface RemoteTermpublic java.lang.String toString()
toString in class java.lang.Objectpublic Annotation getAnnotation()
AnnotatablegetAnnotation in interface Annotatable