org.biojavax
Interface Comment

All Superinterfaces:
Comparable
All Known Implementing Classes:
SimpleComment

public interface Comment
extends Comparable

A simple ranked comment designed to be used for BioEntry comments in BioSQL. The interface is immutable, the fields are intended to be set by the constructor.

Since:
1.5
Author:
Richard Holland
See Also:
BioEntry

Method Summary
 String getComment()
          Returns the comment part of this comment.
 int getRank()
          Returns the rank of this comment.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getComment

String getComment()
Returns the comment part of this comment.

Returns:
a comment.

getRank

int getRank()
Returns the rank of this comment.

Returns:
the rank.