forked from ashishjohn1908/Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWebHit.java
More file actions
47 lines (40 loc) · 1.13 KB
/
Copy pathWebHit.java
File metadata and controls
47 lines (40 loc) · 1.13 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
/*
* This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* ---------------------------
* WebHit.java
* ---------------------------
* (C) Copyright 2002-2004, by Richard Atkinson.
*
* Original Author: Richard Atkinson;
*/
import java.util.Date;
public class WebHit {
protected Date hitDate = null;
protected String section = null;
protected long hitCount = 0;
public WebHit(Date dHitDate, String sSection, long lHitCount) {
this.hitDate = dHitDate;
this.section = sSection;
this.hitCount = lHitCount;
}
public Date getHitDate() {
return this.hitDate;
}
public String getSection() {
return this.section;
}
public long getHitCount() {
return this.hitCount;
}
public void setHitDate(Date dHitDate) {
this.hitDate = dHitDate;
}
public void setSection(String sSection) {
this.section = sSection;
}
public void setHitCount(long lHitCount) {
this.hitCount = lHitCount;
}
}