public interface ComparableTerm extends Term, RankedCrossRefable, java.lang.Comparable, Changeable
Annotatable.AnnotationForwarder| Modifier and Type | Field and Description |
|---|---|
static ChangeType |
DESCRIPTION |
static ChangeType |
IDENTIFIER |
static ChangeType |
OBSOLETE |
static ChangeType |
RANKEDCROSSREF |
ANNOTATION| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIdentifier()
Returns the (optional) identifier associated with this term.
|
java.lang.Boolean |
getObsolete()
Checks to see if this term is obsolete.
|
void |
setDescription(java.lang.String description)
Sets the description associated with this term.
|
void |
setIdentifier(java.lang.String identifier)
Sets the (optional) identifier associated with this term.
|
void |
setObsolete(java.lang.Boolean obsolete)
Sets the obsolescence flag associated with this term.
|
addSynonym, getDescription, getName, getOntology, getSynonyms, removeSynonymgetAnnotationaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListeneraddRankedCrossRef, getRankedCrossRefs, removeRankedCrossRef, setRankedCrossRefsstatic final ChangeType IDENTIFIER
static final ChangeType OBSOLETE
static final ChangeType DESCRIPTION
static final ChangeType RANKEDCROSSREF
java.lang.String getIdentifier()
void setIdentifier(java.lang.String identifier)
throws ChangeVetoException
identifier - the identifier to give the term. Null will unset it.ChangeVetoException - if the identifier is unacceptable.java.lang.Boolean getObsolete()
void setObsolete(java.lang.Boolean obsolete)
throws ChangeVetoException
obsolete - true if it is obsolete, false if not. Nullable.ChangeVetoException - if the change is unacceptable.void setDescription(java.lang.String description)
throws ChangeVetoException
setDescription in interface Termdescription - the description to give the term. Nullable.ChangeVetoException - if the description is unacceptable.