001: package org.claros.intouch.calendar.models;
002:
003: import java.sql.Timestamp;
004:
005: public class CalendarObject implements Cloneable {
006: private Long id;
007: private String username;
008: private Timestamp recordDate;
009: private Timestamp endDate;
010: private Integer repeatType;
011: private String description;
012: private Integer reminderDays;
013: private String color;
014: private String location;
015: private Integer reminderMethod;
016: private String remindedBefore;
017: private Timestamp lastDismissedAt;
018:
019: public CalendarObject() {
020: super ();
021: }
022:
023: public String getDescription() {
024: return description;
025: }
026:
027: public void setDescription(String description) {
028: this .description = description;
029: }
030:
031: public Long getId() {
032: return id;
033: }
034:
035: public void setId(Long id) {
036: this .id = id;
037: }
038:
039: public Timestamp getRecordDate() {
040: return recordDate;
041: }
042:
043: public void setRecordDate(Timestamp recordDate) {
044: this .recordDate = recordDate;
045: }
046:
047: public Integer getReminderDays() {
048: return reminderDays;
049: }
050:
051: public void setReminderDays(Integer reminderDays) {
052: this .reminderDays = reminderDays;
053: }
054:
055: public Integer getRepeatType() {
056: return repeatType;
057: }
058:
059: public void setRepeatType(Integer repeatType) {
060: this .repeatType = repeatType;
061: }
062:
063: public String getUsername() {
064: return username;
065: }
066:
067: public void setUsername(String username) {
068: this .username = username;
069: }
070:
071: public Object clone() {
072: try {
073: return super .clone();
074: } catch (CloneNotSupportedException e) { // this shouldn't happen, since we are Cloneable
075: return null;
076: }
077: }
078:
079: public String getColor() {
080: return color;
081: }
082:
083: public void setColor(String color) {
084: this .color = color;
085: }
086:
087: public String getLocation() {
088: return location;
089: }
090:
091: public void setLocation(String location) {
092: this .location = location;
093: }
094:
095: public Integer getReminderMethod() {
096: return reminderMethod;
097: }
098:
099: public void setReminderMethod(Integer reminderMethod) {
100: this .reminderMethod = reminderMethod;
101: }
102:
103: public Timestamp getEndDate() {
104: return endDate;
105: }
106:
107: public void setEndDate(Timestamp endDate) {
108: this .endDate = endDate;
109: }
110:
111: public String getRemindedBefore() {
112: return remindedBefore;
113: }
114:
115: public void setRemindedBefore(String remindedBefore) {
116: this .remindedBefore = remindedBefore;
117: }
118:
119: public Timestamp getLastDismissedAt() {
120: return lastDismissedAt;
121: }
122:
123: public void setLastDismissedAt(Timestamp lastDismissedAt) {
124: this.lastDismissedAt = lastDismissedAt;
125: }
126: }
|