01: package org.claros.commons.mail.models;
02:
03: import javax.mail.Folder;
04: import javax.mail.Store;
05:
06: /**
07: * @author Umut Gokbayrak
08: *
09: */
10: public class ConnectionMetaHandler {
11: private Folder mbox;
12: private Store store;
13: private int totalMessagesCount;
14:
15: public ConnectionMetaHandler() {
16: super ();
17: }
18:
19: /**
20: * @return Returns the mbox.
21: */
22: public Folder getMbox() {
23: return mbox;
24: }
25:
26: /**
27: * @param mbox The mbox to set.
28: */
29: public void setMbox(Folder mbox) {
30: this .mbox = mbox;
31: }
32:
33: /**
34: * @return Returns the store.
35: */
36: public Store getStore() {
37: return store;
38: }
39:
40: /**
41: * @param store The store to set.
42: */
43: public void setStore(Store store) {
44: this .store = store;
45: }
46:
47: /**
48: * @return Returns the totalMessagesCount.
49: */
50: public int getTotalMessagesCount() {
51: return totalMessagesCount;
52: }
53:
54: /**
55: * @param totalMessagesCount The totalMessagesCount to set.
56: */
57: public void setTotalMessagesCount(int totalMessagesCount) {
58: this.totalMessagesCount = totalMessagesCount;
59: }
60: }
|