01: package org.claros.intouch.calendar.models;
02:
03: import java.sql.Timestamp;
04:
05: public class CalendarObject implements Cloneable {
06: private Long id;
07: private String username;
08: private Timestamp recordDate;
09: private Integer repeatType;
10: private String category;
11: private String description;
12: private Integer reminderDays;
13:
14: public String getCategory() {
15: return category;
16: }
17:
18: public void setCategory(String category) {
19: this .category = category;
20: }
21:
22: public String getDescription() {
23: return description;
24: }
25:
26: public void setDescription(String description) {
27: this .description = description;
28: }
29:
30: public Long getId() {
31: return id;
32: }
33:
34: public void setId(Long id) {
35: this .id = id;
36: }
37:
38: public Timestamp getRecordDate() {
39: return recordDate;
40: }
41:
42: public void setRecordDate(Timestamp recordDate) {
43: this .recordDate = recordDate;
44: }
45:
46: public Integer getReminderDays() {
47: return reminderDays;
48: }
49:
50: public void setReminderDays(Integer reminderDays) {
51: this .reminderDays = reminderDays;
52: }
53:
54: public Integer getRepeatType() {
55: return repeatType;
56: }
57:
58: public void setRepeatType(Integer repeatType) {
59: this .repeatType = repeatType;
60: }
61:
62: public String getUsername() {
63: return username;
64: }
65:
66: public void setUsername(String username) {
67: this .username = username;
68: }
69:
70: public Object clone() {
71: try {
72: return super .clone();
73: } catch (CloneNotSupportedException e) { // this shouldn't happen, since we are Cloneable
74: return null;
75: }
76: }
77: }
|