1 64 65 70 package com.jcorporate.expresso.core.misc; 71 72 73 84 public class EventQueueEntry { 85 86 89 public boolean isNotice = false; 90 91 94 public String dataContext = ""; 95 96 99 public String subject; 100 101 104 public String theEvent; 105 106 109 public String theMessage; 110 111 114 public boolean success; 115 116 119 public int uid; 120 121 124 public ByteArrayDataSource attachments[] = null; 125 126 133 public EventQueueEntry(String newEvent, String newMessage, boolean newSuccess) { 134 this.theEvent = newEvent; 135 this.theMessage = newMessage; 136 this.success = newSuccess; 137 this.isNotice = false; 138 } 139 140 142 148 public boolean isNotice() { 149 return isNotice; 150 } 151 152 158 public void setNotice(boolean notice) { 159 this.isNotice = notice; 160 } 161 162 168 public String getDataContext() { 169 return dataContext; 170 } 171 172 178 public void setDataContext(String dataContext) { 179 this.dataContext = dataContext; 180 } 181 182 188 public String getSubject() { 189 return subject; 190 } 191 192 198 public void setSubject(String subject) { 199 this.subject = subject; 200 } 201 202 203 209 public String getTheEvent() { 210 return theEvent; 211 } 212 213 219 public void setTheEvent(String theEvent) { 220 this.theEvent = theEvent; 221 } 222 223 229 public String getTheMessage() { 230 return theMessage; 231 } 232 233 239 public void setTheMessage(String theMessage) { 240 this.theMessage = theMessage; 241 } 242 243 249 public boolean isSuccess() { 250 return success; 251 } 252 253 259 public void setSuccess(boolean success) { 260 this.success = success; 261 } 262 263 269 public int getUid() { 270 return uid; 271 } 272 273 279 public void setUid(int uid) { 280 this.uid = uid; 281 } 282 283 289 public ByteArrayDataSource[] getAttachments() { 290 return attachments; 291 } 292 293 299 public void setAttachments(ByteArrayDataSource[] attachments) { 300 this.attachments = attachments; 301 } 302 303 } 304 | Popular Tags |