1   package eu.fbk.dh.tint.readability;
2   
3   import java.util.Arrays;
4   
5   /**
6    * Created by alessio on 31/05/16.
7    */
8   
9   public class GlossarioEntry {
10  
11      private String[] forms;
12      private String description;
13      private String pos;
14  
15      public GlossarioEntry(String[] forms, String description) {
16          this.forms = forms;
17          this.description = description;
18      }
19  
20      public GlossarioEntry(String form, String description) {
21          this.forms = new String[] { form };
22          this.description = description;
23      }
24  
25      public String[] getForms() {
26          return forms;
27      }
28  
29      public void setForms(String[] forms) {
30          this.forms = forms;
31      }
32  
33      public String getDescription() {
34          return description;
35      }
36  
37      public void setDescription(String description) {
38          this.description = description;
39      }
40  
41      @Override public String toString() {
42          return "GlossarioEntry{" +
43                  "forms=" + Arrays.toString(forms) +
44                  ", description='" + description + '\'' +
45                  ", pos='" + pos + '\'' +
46                  '}';
47      }
48  
49      public String getPos() {
50          return pos;
51      }
52  
53      public void setPos(String pos) {
54          this.pos = pos;
55      }
56  }