Newer
Older
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
/**
*
*/
package edu.ncsu.csc.itrust.beans;
import java.io.Serializable;
import java.util.Date;
/**
* A bean for storing data about patient-specific instructions given during an
* office visit.
*
* A bean's purpose is to store data. Period. Little or no functionality is to be added to a bean
* (with the exception of minor formatting such as concatenating phone numbers together).
* A bean must only have Getters and Setters (Eclipse Hint: Use Source > Generate Getters and Setters
* to create these easily)
*/
public class PatientInstructionsBean implements Serializable {
/**
*
*/
private static final long serialVersionUID = 5599914802451418319L;
private long id;
private long visitID;
private String name;
private String url;
private String comment;
private Date modified;
/**
* @return the id
*/
public long getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(long id) {
this.id = id;
}
/**
* @return the visitID
*/
public long getVisitID() {
return visitID;
}
/**
* @param visitID the visitID to set
*/
public void setVisitID(long visitID) {
this.visitID = visitID;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the url
*/
public String getUrl() {
return url;
}
/**
* @param url the url to set
*/
public void setUrl(String url) {
this.url = url;
}
/**
* @return the comment
*/
public String getComment() {
return comment;
}
/**
* @param comment the comment to set
*/
public void setComment(String comment) {
this.comment = comment;
}
/**
* @return the modified
*/
public Date getModified() {
return (Date) modified.clone();
}
/**
* @param modified the modified to set
*/
public void setModified(Date modified) {
this.modified = (Date) modified.clone();
}
}