public interface ComparableTerm extends Term, RankedCrossRefable, 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 |
---|---|
String |
getIdentifier()
Returns the (optional) identifier associated with this term.
|
Boolean |
getObsolete()
Checks to see if this term is obsolete.
|
void |
setDescription(String description)
Sets the description associated with this term.
|
void |
setIdentifier(String identifier)
Sets the (optional) identifier associated with this term.
|
void |
setObsolete(Boolean obsolete)
Sets the obsolescence flag associated with this term.
|
addSynonym, getDescription, getName, getOntology, getSynonyms, removeSynonym
getAnnotation
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
addRankedCrossRef, getRankedCrossRefs, removeRankedCrossRef, setRankedCrossRefs
compareTo
static final ChangeType IDENTIFIER
static final ChangeType OBSOLETE
static final ChangeType DESCRIPTION
static final ChangeType RANKEDCROSSREF
String getIdentifier()
void setIdentifier(String identifier) throws ChangeVetoException
identifier
- the identifier to give the term. Null will unset it.ChangeVetoException
- if the identifier is unacceptable.Boolean getObsolete()
void setObsolete(Boolean obsolete) throws ChangeVetoException
obsolete
- true if it is obsolete, false if not. Nullable.ChangeVetoException
- if the change is unacceptable.void setDescription(String description) throws ChangeVetoException
setDescription
in interface Term
description
- the description to give the term. Nullable.ChangeVetoException
- if the description is unacceptable.Copyright © 2014 BioJava. All rights reserved.