01: package org.claros.intouch.webmail.models;
02:
03: /**
04: * @author Umut Gokbayrak
05: */
06: public class FolderDbObjectWrapper extends FolderDbObject {
07: private Integer unreadItemCount;
08: private Integer totalItemCount;
09:
10: public FolderDbObjectWrapper(FolderDbObject f) {
11: this .folderName = f.getFolderName();
12: this .id = f.getId();
13: this .parentId = f.getParentId();
14: this .folderType = f.getFolderType();
15: this .username = f.getUsername();
16: }
17:
18: public Integer getTotalItemCount() {
19: return totalItemCount;
20: }
21:
22: public void setTotalItemCount(Integer totalItemCount) {
23: this .totalItemCount = totalItemCount;
24: }
25:
26: public Integer getUnreadItemCount() {
27: return unreadItemCount;
28: }
29:
30: public void setUnreadItemCount(Integer unreadItemCount) {
31: this.unreadItemCount = unreadItemCount;
32: }
33:
34: }
|