1   package eu.fbk.dkm.pikes.raid.mdfsa.wordnet;
2   
3   public class WordNetRelation {
4   
5     private int relationType;
6     private long targetSynset;
7     private double relationWeight;
8     
9     public WordNetRelation(int r, long t, double w) {
10      this.relationType = r;
11      this.targetSynset = t;
12      this.relationWeight = w;
13    }
14  
15    public int getRelationType() {
16      return relationType;
17    }
18  
19    public void setRelationType(int relationType) {
20      this.relationType = relationType;
21    }
22  
23    public long getTargetSynset() {
24      return targetSynset;
25    }
26  
27    public void setTargetSynset(long targetSynset) {
28      this.targetSynset = targetSynset;
29    }
30  
31    public double getRelationWeight() {
32      return relationWeight;
33    }
34  
35    public void setRelationWeight(double relationWeight) {
36      this.relationWeight = relationWeight;
37    }
38  }