-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEvent.java
More file actions
68 lines (42 loc) · 1.06 KB
/
Event.java
File metadata and controls
68 lines (42 loc) · 1.06 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
package com.example.findme_technovation;
import java.io.Serializable;
public class Event implements Serializable {
private String time;
private String title;
private boolean isAM;
private boolean isMedicine;
private boolean isDaily;
private String message;
public Event(String time, boolean isAM, boolean isMedicine) {
this.time = time;
this.isAM = isAM;
this.isMedicine = isMedicine;
this.isDaily = isDaily;
this.title = "Untitled Event";
this.message = "";
}
public String getTime() {
return time;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getMessage(){
return message;
}
public void setMessage(String message){
this.message = message;
}
public boolean isAM() {
return isAM;
}
public boolean isMedicine() {
return isMedicine;
}
public boolean isDaily() {
return isDaily;
}
}