001: /*
002: * $Header: /cvsroot/mvnforum/mvnforum/src/com/mvnforum/db/MessageFolderBean.java,v 1.13 2007/10/09 11:09:19 lexuanttkhtn Exp $
003: * $Author: lexuanttkhtn $
004: * $Revision: 1.13 $
005: * $Date: 2007/10/09 11:09:19 $
006: *
007: * ====================================================================
008: *
009: * Copyright (C) 2002-2007 by MyVietnam.net
010: *
011: * All copyright notices regarding mvnForum MUST remain
012: * intact in the scripts and in the outputted HTML.
013: * The "powered by" text/logo with a link back to
014: * http://www.mvnForum.com and http://www.MyVietnam.net in
015: * the footer of the pages MUST remain visible when the pages
016: * are viewed on the internet or intranet.
017: *
018: * This program is free software; you can redistribute it and/or modify
019: * it under the terms of the GNU General Public License as published by
020: * the Free Software Foundation; either version 2 of the License, or
021: * any later version.
022: *
023: * This program is distributed in the hope that it will be useful,
024: * but WITHOUT ANY WARRANTY; without even the implied warranty of
025: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
026: * GNU General Public License for more details.
027: *
028: * You should have received a copy of the GNU General Public License
029: * along with this program; if not, write to the Free Software
030: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
031: *
032: * Support can be obtained from support forums at:
033: * http://www.mvnForum.com/mvnforum/index
034: *
035: * Correspondence and Marketing Questions can be sent to:
036: * info at MyVietnam net
037: *
038: * @author: Minh Nguyen
039: * @author: Mai Nguyen
040: */
041: package com.mvnforum.db;
042:
043: import java.sql.Timestamp;
044:
045: /*
046: * Included columns: FolderName, MemberID, FolderOrder, FolderStatus, FolderOption,
047: * FolderType, FolderCreationDate, FolderModifiedDate
048: * Excluded columns:
049: */
050: public class MessageFolderBean {
051: private String folderName;
052: private int memberID;
053: private int folderOrder;
054: private int folderStatus;
055: private int folderOption;
056: private int folderType;
057: private Timestamp folderCreationDate;
058: private Timestamp folderModifiedDate;
059:
060: public String getFolderName() {
061: return folderName;
062: }
063:
064: public void setFolderName(String folderName) {
065: this .folderName = folderName;
066: }
067:
068: public int getMemberID() {
069: return memberID;
070: }
071:
072: public void setMemberID(int memberID) {
073: this .memberID = memberID;
074: }
075:
076: public int getFolderOrder() {
077: return folderOrder;
078: }
079:
080: public void setFolderOrder(int folderOrder) {
081: this .folderOrder = folderOrder;
082: }
083:
084: public int getFolderStatus() {
085: return folderStatus;
086: }
087:
088: public void setFolderStatus(int folderStatus) {
089: this .folderStatus = folderStatus;
090: }
091:
092: public int getFolderOption() {
093: return folderOption;
094: }
095:
096: public void setFolderOption(int folderOption) {
097: this .folderOption = folderOption;
098: }
099:
100: public int getFolderType() {
101: return folderType;
102: }
103:
104: public void setFolderType(int folderType) {
105: this .folderType = folderType;
106: }
107:
108: public Timestamp getFolderCreationDate() {
109: return folderCreationDate;
110: }
111:
112: public void setFolderCreationDate(Timestamp folderCreationDate) {
113: this .folderCreationDate = folderCreationDate;
114: }
115:
116: public Timestamp getFolderModifiedDate() {
117: return folderModifiedDate;
118: }
119:
120: public void setFolderModifiedDate(Timestamp folderModifiedDate) {
121: this .folderModifiedDate = folderModifiedDate;
122: }
123:
124: /************************************************
125: * Customized methods come below
126: ************************************************/
127: private int messageCount;
128: private int unreadMessageCount;
129:
130: public int getMessageCount() {
131: return messageCount;
132: }
133:
134: public void setMessageCount(int messageCount) {
135: this .messageCount = messageCount;
136: }
137:
138: public int getUnreadMessageCount() {
139: return this .unreadMessageCount;
140: }
141:
142: public void setUnreadMessageCount(int unreadMessageCount) {
143: this .unreadMessageCount = unreadMessageCount;
144: }
145:
146: } //end of class MessageFolderBean
|