lasttopic.java
来自「jGossip是一个简单而功能强大的Java论坛软件(消息板)」· Java 代码 · 共 111 行
JAVA
111 行
/*
* $$Id: LastTopic.java,v 1.1 2004/04/21 03:35:11 alexnet Exp $$
*
* ***** BEGIN LICENSE BLOCK *****
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
*
* The Original Code is JGossip forum code.
*
* The Initial Developer of the Original Code is the JResearch, Org.
* Portions created by the Initial Developer are Copyright (C) 2004
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Alex Pavlov <alexnet@sourceforge.net>
*
* ***** END LICENSE BLOCK ***** */
package org.jresearch.gossip.beans.forum;
/**
* DOCUMENT ME!
*
* @author dbelov
*/
public class LastTopic extends Topic {
private int forumid;
private String forumName;
private int mod_flag;
private Message rootMessage;
/**
* DOCUMENT ME!
*
* @return
*/
public int getForumid() {
return forumid;
}
/**
* DOCUMENT ME!
*
* @return
*/
public int getMod_flag() {
return mod_flag;
}
/**
* DOCUMENT ME!
*
* @param i
*/
public void setForumid(int i) {
forumid = i;
}
/**
* DOCUMENT ME!
*
* @param i
*/
public void setMod_flag(int i) {
mod_flag = i;
}
/**
* DOCUMENT ME!
*
* @return
*/
public String getForumName() {
return forumName;
}
/**
* DOCUMENT ME!
*
* @param string
*/
public void setForumName(String string) {
forumName = string;
}
/**
* get root message in topic.
*
* @return root message in topic.
*/
public Message getRootMessage() {
return rootMessage;
}
/**
* Assign root message for topic.
*
* @param message new root message
*/
public void setRootMessage(Message message) {
rootMessage = message;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?