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
package edu.ncsu.csc.itrust.beans;
public class LabelBean {
/**
* Unique Primary key so entries can be edited and deleted
*/
private long entryID;
/**
* The MID of the user this Food Entry belongs to
*/
private long patientID;
private String labelName;
private String labelColor;
/**
* Returns the id of this entry so it can be edited/deleted.
* @return unique id of the food entry
*/
public long getEntryID() {
return entryID;
}
/**
* Sets the id of this entry
* @param id the unique id of a food entry
*/
public void setEntryID(long id) {
entryID = id;
}
/**
* The patient that ate this meal
* @return patient ID that ate this meal
*/
public long getPatientID() {
return patientID;
}
/**
* Patient that ate this meal
* @param patientID patient id of who ate this meal
*/
public void setPatientID(long patientID) {
this.patientID = patientID;
}
public String getLabelName() {
return labelName;
}
public void setLabelName(String labelName) {
this.labelName = labelName;
}
public String getLabelColor() {
return labelColor;
}
public void setLabelColor(String labelColor) {
this.labelColor = labelColor;
}
}