1 package eu.fbk.shell.mdfsa.data.structures;
2
3 import java.io.Serializable;
4
5 public class DomainEdge implements Serializable {
6
7 private static final long serialVersionUID = 1L;
8
9 private long nodeId;
10 private double weight;
11
12
13
14
15
16
17 private int creator;
18
19 public DomainEdge(long nodeId, double weight, int creator) {
20 this.nodeId = nodeId;
21 this.weight = weight;
22 this.creator = creator;
23 }
24
25 public long getNodeId() {
26 return nodeId;
27 }
28
29 public void setNodeId(long nodeId) {
30 this.nodeId = nodeId;
31 }
32
33 public double getWeight() {
34 return weight;
35 }
36
37 public void setWeight(double weight) {
38 this.weight = weight;
39 }
40
41 public int getCreator() {
42 return creator;
43 }
44
45 public void setCreator(int creator) {
46 this.creator = creator;
47 }
48
49 }