732f1dc0fe00cf02a4bf728be75a699865bcf604
[jalview.git] / src / jalview / datamodel / SearchResultMatchI.java
1 package jalview.datamodel;
2
3 /**
4  * An interface that describes one matched region of an alignment, as one
5  * contiguous portion of a single dataset sequence
6  */
7 public interface SearchResultMatchI
8 {
9   /**
10    * Returns the matched sequence
11    * 
12    * @return
13    */
14   SequenceI getSequence();
15
16   /**
17    * Returns the start position of the match in the sequence (base 1)
18    * 
19    * @return
20    */
21   int getStart();
22
23   /**
24    * Returns the end position of the match in the sequence (base 1)
25    * 
26    * @return
27    */
28   int getEnd();
29
30 }