Record.java
2.63 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import scala.Serializable;
public class Record implements Serializable {
Integer ip;
Integer app;
Integer device;
Integer os;
Integer channel;
String clickTime;
String attributedTime;
Integer isAttributed;
Integer clickInTenMins;
// constructor , getters and setters
public Record(int pIp, int pApp, int pDevice, int pOs, int pChannel, String pClickTime, String pAttributedTime, Integer pIsAttributed) {
ip = new Integer(pIp);
app = new Integer(pApp);
device = new Integer(pDevice);
os = new Integer(pOs);
channel = new Integer(pChannel);
clickTime = pClickTime;
attributedTime = pAttributedTime;
isAttributed = new Integer(pIsAttributed);
clickInTenMins = new Integer(0);
}
public Record(int pIp, int pApp, int pDevice, int pOs, int pChannel, String pClickTime, String pAttributedTime, Integer pIsAttributed, int pClickInTenMins) {
ip = new Integer(pIp);
app = new Integer(pApp);
device = new Integer(pDevice);
os = new Integer(pOs);
channel = new Integer(pChannel);
clickTime = pClickTime;
attributedTime = pAttributedTime;
isAttributed = new Integer(pIsAttributed);
clickInTenMins = new Integer(pClickInTenMins);
}
public Integer getIp() {
return ip;
}
public void setIp(Integer ip) {
this.ip = ip;
}
public Integer getApp() {
return app;
}
public void setApp(Integer app) {
this.app = app;
}
public Integer getDevice() {
return device;
}
public void setDevice(Integer device) {
this.device = device;
}
public Integer getOs() {
return os;
}
public void setOs(Integer os) {
this.os = os;
}
public Integer getChannel() {
return channel;
}
public void setChannel(Integer channel) {
this.channel = channel;
}
public String getClickTime() {
return clickTime;
}
public void setClickTime(String clickTime) {
this.clickTime = clickTime;
}
public String getAttributedTime() {
return attributedTime;
}
public void setAttributedTime(String attributedTime) {
this.attributedTime = attributedTime;
}
public Integer getAttributed() {
return isAttributed;
}
public void setAttributed(Integer attributed) {
isAttributed = attributed;
}
public Integer getClickInTenMins() {
return clickInTenMins;
}
public void setClickInTenMins(Integer clickInTenMins) {
this.clickInTenMins = clickInTenMins;
}
}