public static final class RemoteTerm.Impl extends AbstractTerm implements RemoteTerm, Serializable
RemoteTerm.Impl
Annotatable.AnnotationForwarder
description
ANNOTATION
Constructor and Description |
---|
RemoteTerm.Impl(Ontology ontology,
Term remoteTerm,
String name) |
RemoteTerm.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, setDescription
addChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setDescription
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
public RemoteTerm.Impl(Ontology ontology, Term remoteTerm, String name)
public RemoteTerm.Impl(Ontology ontology, Term remoteTerm, String name, Object[] synonyms)
public void addSynonym(Object synonym)
Term
addSynonym
in interface Term
synonym
- the synonympublic void removeSynonym(Object synonym)
Term
removeSynonym
in interface Term
public Object[] getSynonyms()
Term
getSynonyms
in interface Term
public String getName()
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 Annotation getAnnotation()
Annotatable
getAnnotation
in interface Annotatable
Copyright © 2014 BioJava. All rights reserved.