[1734] | 1 | /* |
---|
| 2 | * |
---|
| 3 | */ |
---|
[1620] | 4 | package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; |
---|
| 5 | |
---|
[1717] | 6 | import java.io.Serializable; |
---|
| 7 | |
---|
[1734] | 8 | // TODO: Auto-generated Javadoc |
---|
| 9 | /** |
---|
| 10 | * The Class MatchOccurence. |
---|
| 11 | */ |
---|
[1733] | 12 | public class MatchOccurence implements Serializable { |
---|
[1734] | 13 | |
---|
| 14 | /** The Constant serialVersionUID. */ |
---|
[1717] | 15 | private static final long serialVersionUID = 6186633243145293781L; |
---|
[1734] | 16 | |
---|
| 17 | /** The startindex. */ |
---|
[1620] | 18 | private int startindex; |
---|
[1734] | 19 | |
---|
| 20 | /** The endindex. */ |
---|
[1657] | 21 | private int endindex; |
---|
[1734] | 22 | |
---|
| 23 | /** The sequence id. */ |
---|
[1620] | 24 | private int sequenceId; |
---|
[1733] | 25 | |
---|
[1734] | 26 | /** |
---|
| 27 | * Instantiates a new match occurence. |
---|
| 28 | * |
---|
| 29 | * @param startindex the startindex |
---|
| 30 | * @param endindex the endindex |
---|
| 31 | * @param sequenceId the sequence id |
---|
| 32 | */ |
---|
[1657] | 33 | public MatchOccurence(int startindex, int endindex, int sequenceId) { |
---|
[1620] | 34 | this.startindex = startindex; |
---|
[1657] | 35 | this.endindex = endindex; |
---|
[1620] | 36 | this.sequenceId = sequenceId; |
---|
| 37 | } |
---|
[1733] | 38 | |
---|
[1734] | 39 | /** |
---|
| 40 | * Gets the endindex. |
---|
| 41 | * |
---|
| 42 | * @return the endindex |
---|
| 43 | */ |
---|
[1657] | 44 | public int getEndindex() { |
---|
| 45 | return endindex; |
---|
| 46 | } |
---|
| 47 | |
---|
[1734] | 48 | /** |
---|
| 49 | * Gets the sequence id. |
---|
| 50 | * |
---|
| 51 | * @return the sequence id |
---|
| 52 | */ |
---|
[1733] | 53 | public int getSequenceId() { |
---|
| 54 | return sequenceId; |
---|
[1657] | 55 | } |
---|
| 56 | |
---|
[1734] | 57 | /** |
---|
| 58 | * Gets the startindex. |
---|
| 59 | * |
---|
| 60 | * @return the startindex |
---|
| 61 | */ |
---|
[1620] | 62 | public int getStartindex() { |
---|
| 63 | return startindex; |
---|
| 64 | } |
---|
[1733] | 65 | |
---|
[1734] | 66 | /** |
---|
| 67 | * Sets the endindex. |
---|
| 68 | * |
---|
| 69 | * @param endindex the new endindex |
---|
| 70 | */ |
---|
[1733] | 71 | public void setEndindex(int endindex) { |
---|
| 72 | this.endindex = endindex; |
---|
[1620] | 73 | } |
---|
[1657] | 74 | |
---|
[1734] | 75 | /** |
---|
| 76 | * Sets the sequence id. |
---|
| 77 | * |
---|
| 78 | * @param sequenceId the new sequence id |
---|
| 79 | */ |
---|
[1657] | 80 | public void setSequenceId(int sequenceId) { |
---|
| 81 | this.sequenceId = sequenceId; |
---|
| 82 | } |
---|
[1733] | 83 | |
---|
[1734] | 84 | /** |
---|
| 85 | * Sets the startindex. |
---|
| 86 | * |
---|
| 87 | * @param startindex the new startindex |
---|
| 88 | */ |
---|
[1733] | 89 | public void setStartindex(int startindex) { |
---|
| 90 | this.startindex = startindex; |
---|
| 91 | } |
---|
[1620] | 92 | } |
---|