public interface Note extends Comparable, Changeable
RichAnnotation
Modifier and Type | Field and Description |
---|---|
static ChangeType |
RANK |
static ChangeType |
TERM |
static ChangeType |
VALUE |
Modifier and Type | Method and Description |
---|---|
int |
getRank()
Gets the rank that defines this note.
|
ComparableTerm |
getTerm()
Gets the term that defines this note.
|
String |
getValue()
Gets the value that defines this note.
|
void |
setRank(int value)
Sets the rank for this note.
|
void |
setTerm(ComparableTerm term)
Sets the term for this note.
|
void |
setValue(String value)
Sets the value for this note, or null for no value.
|
compareTo
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
static final ChangeType TERM
static final ChangeType RANK
static final ChangeType VALUE
ComparableTerm getTerm()
void setTerm(ComparableTerm term) throws ChangeVetoException
term
- the term to use.ChangeVetoException
- if it doesn't like the term.String getValue()
void setValue(String value) throws ChangeVetoException
value
- the value to use.ChangeVetoException
- if it doesn't like the value.int getRank()
void setRank(int value) throws ChangeVetoException
value
- the rank to use.ChangeVetoException
- if it doesn't like the rank.Copyright © 2014 BioJava. All rights reserved.