org.biojavax
Interface RankedCrossRef

All Superinterfaces:
Changeable, Comparable
All Known Implementing Classes:
SimpleRankedCrossRef

public interface RankedCrossRef
extends Comparable, Changeable

Allows cross-references to other databases to be ranked.

Since:
1.5
Author:
Richard Holland
See Also:
RankedCrossRefable, CrossRef

Method Summary
 CrossRef getCrossRef()
          Return the cross reference associated with this object.
 int getRank()
          Return the rank associated with the cross reference.
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
 

Method Detail

getCrossRef

CrossRef getCrossRef()
Return the cross reference associated with this object.

Returns:
a crossref object.

getRank

int getRank()
Return the rank associated with the cross reference.

Returns:
the rank.