Package org.biojavax
Interface Comment
- All Superinterfaces:
Changeable
,Comparable
- All Known Implementing Classes:
SimpleComment
A simple ranked comment designed to be used for BioEntry comments
in BioSQL. The Comment field is intended to be set by the constructor
and is immuntable; the Rank field is changeable.
- Since:
- 1.5
- Author:
- Richard Holland, gwaldon
- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
RANK
-
-
Method Details
-
getComment
Returns the comment part of this comment.- Returns:
- a comment.
-
getRank
int getRank()Returns the rank of this comment.- Returns:
- the rank.
-
setRank
Sets the rank of this comment.- Parameters:
rank
- the rank to use.- Throws:
ChangeVetoException
- if the new rank is unacceptable.
-