⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 thread.java

📁 如题ServletJSP.rar 为网络收集的JSP网站源文件
💻 JAVA
字号:
/*
 * XP Forum
 *
 * Copyright (c) 2002-2003 RedSoft Group.  All rights reserved.
 *
 */
package org.redsoft.forum.search;

/**
 * Value object of thread for display purpose in search module
 *
 * @author cinc
 * @version $Id: Thread.java,v 1.1.1.1 2003/07/08 08:25:16 cinc Exp $
 *
 */
public class Thread{
    // The thread's title
    private String title;

	// Content of the thread
	private String content;

	// Author of the thread
	private String author;

    // Time when this thread was posted
	private String timeStamp;

    // catetory of the thread
    private String category;

    // category id of the thread
    private String categoryID;

    /**
     * the topmost thread id
     * it is either the thread's id if the thread has no parent
     *   or the thread parent's id
     */
    private String parentID;

	public Thread( final String title,
	               final String content,
        	       final String author,
	    	       final String timeStamp,
                   final String category,
                   final String categoryID,
                   final String parentID){
        this.title = title;
        this.content = content;
        this.author = author;
        this.timeStamp = timeStamp;
        this.category = category;
        this.categoryID = categoryID;
        this.parentID = parentID;
	}
	public String getTitle(){
		return this.title;
	}
    public String getContent(){
        return this.content;
    }
    public String getAuthor(){
        return this.author;
    }
    public String getTimeStamp(){
        return timeStamp;
    }
    public String getCategory(){
        return category;
    }
    public String getCategoryID(){
        return categoryID;
    }
    public String getParentID(){
        return parentID;
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -