-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConnectivity.java
37 lines (29 loc) · 943 Bytes
/
Connectivity.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package Git.MiniProject;
public class Connectivity {
private String startOrFinish;
private Task linkedTo;
private long connectivityDuration;
public Connectivity(Task linkedTo, String startOrFinish, long connectivityDuration){
this.startOrFinish = startOrFinish;
this.linkedTo = linkedTo;
this.connectivityDuration = connectivityDuration;
}
public Task getLinkedTo() {
return linkedTo;
}
public String getStartOrFinish() {
return startOrFinish;
}
public long getConnectivityDuration() {
return connectivityDuration;
}
public void setConnectivityDuration(long connectivityDuration) {
this.connectivityDuration = connectivityDuration;
}
public void setLinkedTo(Task linkedTo) {
this.linkedTo = linkedTo;
}
public void setStartOrFinish(String startOrFinish) {
this.startOrFinish = startOrFinish;
}
}