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