1   package eu.fbk.dh.tint.readability;
2   
3   /**
4    * Created by alessio on 03/06/16.
5    */
6   
7   public class DescriptionForm {
8   
9       private int start, end;
10      private GlossarioEntry description;
11  
12      public DescriptionForm(int start, int end, GlossarioEntry description) {
13          this.start = start;
14          this.end = end;
15          this.description = description;
16      }
17  
18      public int getStart() {
19          return start;
20      }
21  
22      public void setStart(int start) {
23          this.start = start;
24      }
25  
26      public int getEnd() {
27          return end;
28      }
29  
30      public void setEnd(int end) {
31          this.end = end;
32      }
33  
34      public GlossarioEntry getDescription() {
35          return description;
36      }
37  
38      public void setDescription(GlossarioEntry description) {
39          this.description = description;
40      }
41  
42      @Override public String toString() {
43          return "DescriptionForm{" +
44                  "start=" + start +
45                  ", end=" + end +
46                  ", description=" + description.getDescription() +
47                  '}';
48      }
49  }