1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.exoplatform.webservice.cs.bean;
18
19
20
21
22
23
24
25 public class SingleEvent {
26
27 private String summary = "";
28
29 private String description = "";
30
31 private String location = "";
32
33 private String eventState = "";
34
35 private String priority = "";
36
37 private long startDateTime = -1;
38
39 private long endDateTime = -1;
40
41 private long startTimeOffset = 0;
42
43 private long endTimeOffset = 0;
44
45 private String dateFormat = "";
46
47 private boolean isVirtual = true;
48 private boolean isEvent = true ;
49 private boolean isOccurrence = false;
50
51
52 public String getSummary() {
53 return summary;
54 }
55
56 public void setSummary(String summary) {
57 this.summary = summary != null ? summary : "";
58 }
59
60 public String getDescription() {
61 return description;
62 }
63
64 public void setDescription(String description) {
65 this.description = description != null ? description : "";
66 }
67
68 public String getLocation() {
69 return location;
70 }
71
72 public void setLocation(String location) {
73 this.location = location != null ? location : "";
74 }
75
76 public String getEventState() {
77 return eventState;
78 }
79
80 public void setEventState(String eventState) {
81 this.eventState = eventState != null ? eventState : "";
82 }
83
84 public String getPriority() {
85 return priority;
86 }
87
88 public void setPriority(String priority) {
89 this.priority = priority != null ? priority : "";
90 }
91
92 public long getStartDateTime() {
93 return startDateTime;
94 }
95
96 public void setStartDateTime(long startDateTime) {
97 this.startDateTime = startDateTime;
98 }
99
100 public long getEndDateTime() {
101 return endDateTime;
102 }
103
104 public void setEndDateTime(long endDateTime) {
105 this.endDateTime = endDateTime;
106 }
107
108 public long getStartTimeOffset() {
109 return startTimeOffset;
110 }
111
112 public void setStartTimeOffset(long startTimeOffset) {
113 this.startTimeOffset = startTimeOffset;
114 }
115
116 public long getEndTimeOffset() {
117 return endTimeOffset;
118 }
119
120 public void setEndTimeOffset(long endTimeOffset) {
121 this.endTimeOffset = endTimeOffset;
122 }
123
124 public String getDateFormat() {
125 return dateFormat;
126 }
127
128 public void setDateFormat(String dateFormat) {
129 this.dateFormat = dateFormat;
130 }
131
132 public boolean isVirtual() {
133 return isVirtual;
134 }
135
136 public void setVirtual(boolean virtual) {
137 isVirtual = virtual;
138 }
139
140 public boolean isEvent() {
141 return isEvent;
142 }
143
144 public void setEvent(boolean event) {
145 isEvent = event;
146 }
147
148 public boolean isOccurrence() {
149 return isOccurrence;
150 }
151
152 public void setOccurrence(boolean occurrence) {
153 isOccurrence = occurrence;
154 }
155 }