-
Notifications
You must be signed in to change notification settings - Fork 0
/
SearchTrain_Train.java
82 lines (78 loc) · 1.63 KB
/
SearchTrain_Train.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
public class SearchTrain_Train {
private int trainNumber;
private String trainName;
private String source;
private String destination;
private int ac1;
private int ac2;
private int ac3;
private int sl;
private int ss;
public int getTrainNumber() {
return trainNumber;
}
public void setTrainNumber(int trainNumber) {
this.trainNumber = trainNumber;
}
public String getTrainName() {
return trainName;
}
public void setTrainName(String trainName) {
this.trainName = trainName;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public String getDestination() {
return destination;
}
public void setDestination(String destination) {
this.destination = destination;
}
public int getAc1() {
return ac1;
}
public void setAc1(int ac1) {
this.ac1 = ac1;
}
public int getAc2() {
return ac2;
}
public void setAc2(int ac2) {
this.ac2 = ac2;
}
public int getAc3() {
return ac3;
}
public void setAc3(int ac3) {
this.ac3 = ac3;
}
public int getSl() {
return sl;
}
public void setSl(int sl) {
this.sl = sl;
}
public int getSs() {
return ss;
}
public void setSs(int ss) {
this.ss = ss;
}
public SearchTrain_Train(int trainNumber, String trainName, String source, String destination, int ac1, int ac2, int ac3,
int sl, int ss) {
super();
this.trainNumber = trainNumber;
this.trainName = trainName;
this.source = source;
this.destination = destination;
this.ac1 = ac1;
this.ac2 = ac2;
this.ac3 = ac3;
this.sl = sl;
this.ss = ss;
}
}