📄 forumbean.java
字号:
/*
* Copyright (C) 2002 by MyVietnam.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or any later version.
*
* All copyright notices regarding mvnForum
* must remain intact in the scripts and in the outputted HTML
* The "powered by" text/logo with a link back to
* http://www.mvnForum.com and http://www.MyVietnam.net in the footer of the pages MUST
* remain visible when the pages are viewed on the internet or intranet.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Support can be obtained from support forums at:
* http://www.mvnForum.com/mvnforum/index
*
* Correspondence and Marketing Questions can be sent to:
* info@MyVietnam.net
*
* @author: Minh Nguyen minhnn@MyVietnam.net
* @author: Mai Nguyen mai.nh@MyVietnam.net
*/
package net.myvietnam.mvnplugin.mvnforum.db;
import java.sql.*;
import java.util.Collection;//for xml support
import java.util.Iterator;//for xml support
/*
* Included columns: ForumID, CategoryID, LastPostMemberName, ForumName, ForumDesc,
* ForumCreationDate, ForumModifiedDate, ForumLastPostDate, ForumOrder, ForumType,
* ForumFormatOption, ForumOption, ForumStatus, ForumModerationMode, ForumPassword,
* ForumThreadCount, ForumPostCount
* Excluded columns:
*/
public class ForumBean {
private int forumID;
private int categoryID;
private String lastPostMemberName;
private String forumName;
private String forumDesc;
private Timestamp forumCreationDate;
private Timestamp forumModifiedDate;
private Timestamp forumLastPostDate;
private int forumOrder;
private int forumType;
private int forumFormatOption;
private int forumOption;
private int forumStatus;
private int forumModerationMode;
private String forumPassword;
private int forumThreadCount;
private int forumPostCount;
public int getForumID() {
return forumID;
}
public void setForumID(int forumID) {
this.forumID = forumID;
}
public int getCategoryID() {
return categoryID;
}
public void setCategoryID(int categoryID) {
this.categoryID = categoryID;
}
public String getLastPostMemberName() {
return lastPostMemberName;
}
public void setLastPostMemberName(String lastPostMemberName) {
this.lastPostMemberName = lastPostMemberName;
}
public String getForumName() {
return forumName;
}
public void setForumName(String forumName) {
this.forumName = forumName;
}
public String getForumDesc() {
return forumDesc;
}
public void setForumDesc(String forumDesc) {
this.forumDesc = forumDesc;
}
public Timestamp getForumCreationDate() {
return forumCreationDate;
}
public void setForumCreationDate(Timestamp forumCreationDate) {
this.forumCreationDate = forumCreationDate;
}
public Timestamp getForumModifiedDate() {
return forumModifiedDate;
}
public void setForumModifiedDate(Timestamp forumModifiedDate) {
this.forumModifiedDate = forumModifiedDate;
}
public Timestamp getForumLastPostDate() {
return forumLastPostDate;
}
public void setForumLastPostDate(Timestamp forumLastPostDate) {
this.forumLastPostDate = forumLastPostDate;
}
public int getForumOrder() {
return forumOrder;
}
public void setForumOrder(int forumOrder) {
this.forumOrder = forumOrder;
}
public int getForumType() {
return forumType;
}
public void setForumType(int forumType) {
this.forumType = forumType;
}
public int getForumFormatOption() {
return forumFormatOption;
}
public void setForumFormatOption(int forumFormatOption) {
this.forumFormatOption = forumFormatOption;
}
public int getForumOption() {
return forumOption;
}
public void setForumOption(int forumOption) {
this.forumOption = forumOption;
}
public int getForumStatus() {
return forumStatus;
}
public void setForumStatus(int forumStatus) {
this.forumStatus = forumStatus;
}
public int getForumModerationMode() {
return forumModerationMode;
}
public void setForumModerationMode(int forumModerationMode) {
this.forumModerationMode = forumModerationMode;
}
public String getForumPassword() {
return forumPassword;
}
public void setForumPassword(String forumPassword) {
this.forumPassword = forumPassword;
}
public int getForumThreadCount() {
return forumThreadCount;
}
public void setForumThreadCount(int forumThreadCount) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -