| 1 68 package com.ivata.groupware.business.mail.message; 69 70 import java.util.GregorianCalendar ; 71 import java.util.List ; 72 73 import com.ivata.groupware.business.mail.MailBean; 74 import com.ivata.groupware.container.persistence.BaseDO; 75 76 77 90 public class MessageDO extends BaseDO { 91 92 96 private List attachments; 97 100 private String folderName; 101 102 108 private int format; 109 110 115 private String messageID; 116 117 120 private GregorianCalendar received; 121 122 125 private List recipients; 126 127 133 private List recipientsBCC; 134 135 141 private List recipientsCC; 142 143 146 private List senders; 147 148 151 private GregorianCalendar sent; 152 153 156 private Integer size; 157 158 161 private String subject; 162 163 169 private String text; 170 171 181 public List getAttachments() { 182 return attachments; 183 } 184 185 191 public final String getFolderName() { 192 return folderName; 193 } 194 195 203 public final int getFormat() { 204 return format; 205 } 206 213 public final String getMessageID() { 214 return messageID; 215 } 216 217 225 public final GregorianCalendar getReceived() { 226 return this.received; 227 } 228 229 236 public List getRecipients() { 237 return recipients; 238 } 239 240 251 public List getRecipientsBCC() { 252 return recipientsBCC; 253 } 254 255 265 public List getRecipientsCC() { 266 return recipientsCC; 267 } 268 269 277 public List getSenders() { 278 return senders; 279 } 280 281 289 public final GregorianCalendar getSent() { 290 return sent; 291 } 292 293 299 public final Integer getSize() { 300 return size; 301 } 302 303 310 public final String getSubject() { 311 return subject; 312 } 313 314 323 public final String getText() { 324 return text; 325 } 326 327 333 public final void setAttachments(final List attachments) { 334 this.attachments = attachments; 335 } 336 337 347 public final void setFolderName(final String folderName) { 348 this.folderName = folderName; 349 } 350 351 359 public final void setFormat(final int format) { 360 this.format = format; 361 } 362 370 public final void setMessageID(final String messageID) { 371 this.messageID = messageID; 372 } 373 374 380 public final void setReceived(final GregorianCalendar received) { 381 this.received = received; 382 } 383 384 392 public final void setRecipients(final List recipients) { 393 this.recipients = recipients; 394 } 395 396 408 public final void setRecipientsBCC(final List recipientsBCC) { 409 this.recipientsBCC = recipientsBCC; 410 } 411 412 424 public final void setRecipientsCC(final List recipientsCC) { 425 this.recipientsCC = recipientsCC; 426 } 427 428 436 public final void setSenders(final List senders) { 437 this.senders = senders; 438 } 439 440 446 public final void setSent(final GregorianCalendar sent) { 447 this.sent = sent; 448 } 449 450 456 public final void setSize(final Integer size) { 457 this.size = size; 458 } 459 460 467 public final void setSubject(final String subject) { 468 this.subject = subject; 469 } 470 471 480 public final void setText(final String text) { 481 this.text = text; 482 } 483 } 484 | Popular Tags |