1   package eu.fbk.dkm.pikes.tintop.util.framenet;
2   
3   import eu.fbk.dkm.pikes.resources.util.propbank.Roleset;
4   import org.slf4j.Logger;
5   import org.slf4j.LoggerFactory;
6   
7   import java.io.File;
8   import java.util.HashMap;
9   import java.util.List;
10  import java.util.Set;
11  
12  /**
13   * Created by alessio on 14/11/15.
14   */
15  
16  public class RolesetInfo {
17  
18      private static final Logger LOGGER = LoggerFactory.getLogger(RolesetInfo.class);
19  
20      private File origFile;
21      private String label;
22      private String baseLemma;
23      private String lemma;
24      private String type;
25      private HashMap<String, HashMap<String, Set>> senses;
26      private Set<String> luFrames;
27      private Roleset roleset;
28      private List<String> synsets;
29  
30      public RolesetInfo(File origFile, String label, String baseLemma, String lemma, String type,
31              HashMap<String, HashMap<String, Set>> senses, Set<String> luFrames,
32              Roleset roleset, List<String> synsets) {
33          this.origFile = origFile;
34          this.label = label;
35          this.baseLemma = baseLemma;
36          this.lemma = lemma;
37          this.type = type;
38          this.senses = senses;
39          this.luFrames = luFrames;
40          this.roleset = roleset;
41          this.synsets = synsets;
42      }
43  
44      public List<String> getSynsets() {
45          return synsets;
46      }
47  
48      public void setSynsets(List<String> synsets) {
49          this.synsets = synsets;
50      }
51  
52      public File getOrigFile() {
53          return origFile;
54      }
55  
56      public void setOrigFile(File origFile) {
57          this.origFile = origFile;
58      }
59  
60      public String getLabel() {
61          return label;
62      }
63  
64      public void setLabel(String label) {
65          this.label = label;
66      }
67  
68      public String getBaseLemma() {
69          return baseLemma;
70      }
71  
72      public void setBaseLemma(String baseLemma) {
73          this.baseLemma = baseLemma;
74      }
75  
76      public String getLemma() {
77          return lemma;
78      }
79  
80      public void setLemma(String lemma) {
81          this.lemma = lemma;
82      }
83  
84      public String getType() {
85          return type;
86      }
87  
88      public void setType(String type) {
89          this.type = type;
90      }
91  
92      public HashMap<String, HashMap<String, Set>> getSenses() {
93          return senses;
94      }
95  
96      public void setSenses(HashMap<String, HashMap<String, Set>> senses) {
97          this.senses = senses;
98      }
99  
100     public Set<String> getLuFrames() {
101         return luFrames;
102     }
103 
104     public void setLuFrames(Set<String> luFrames) {
105         this.luFrames = luFrames;
106     }
107 
108     public Roleset getRoleset() {
109         return roleset;
110     }
111 
112     public void setRoleset(Roleset roleset) {
113         this.roleset = roleset;
114     }
115 }