-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseObj.java
More file actions
78 lines (60 loc) · 1.35 KB
/
Copy pathBaseObj.java
File metadata and controls
78 lines (60 loc) · 1.35 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
import java.util.Calendar;
/**
* @author michelle chan
*
* This is an abstract class that can be extended, but not instantiated directly
*/
public abstract class BaseObj {
private String name;
private Calendar startDate;
private Calendar endDate;
private String time;
private String pathFileName;
/**
* @param name
* @param startDate
* @param endDate
* @param time
* @param pathFileName
*
* This constructor consists of 5 parameters: name, startDate, endDate, time, pathFileName
*/
public BaseObj(String name, Calendar startDate, Calendar endDate, String time, String pathFileName) {
super();
this.name = name;
this.startDate = startDate;
this.endDate = endDate;
this.time = time;
this.pathFileName = pathFileName;
}
public BaseObj(String pathFileName) {
this.pathFileName = pathFileName;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Calendar getStartDate() {
return startDate;
}
public void setStartDate(Calendar startDate) {
this.startDate = startDate;
}
public Calendar getEndDate() {
return endDate;
}
public void setEndDate(Calendar endDate) {
this.endDate = endDate;
}
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = time;
}
public String getPathFileName() {
return pathFileName;
}
}