Code Search for Developers
 
 
  

Topic.java from riverock at Krugle


Show Topic.java syntax highlighted

/*
 * org.riverock.forum - Forum portlet
 *
 * Copyright (C) 2006, Riverock Software, All Rights Reserved.
 *
 * Riverock - The Open-source Java Development Community
 * http://www.riverock.org
 *
 *
 * 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 (at your option) any later version.
 *
 * This library 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 library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */
package org.riverock.forum.bean;

import java.io.Serializable;

import org.riverock.common.tools.StringTools;

public class Topic implements Serializable {
    private String t_name;
    private String u_name;
    private String u_name2;
    private String t_views;
    private int t_order;
    private int t_replies;
    private int t_locked;
    private int t_id;
    private String urlToPosterInfo = null;
    private String urlToLastPosterInfo = null;

    private java.util.Date t_lasttime;
    private int t_u_id;
    private int t_u_id2;
    private int t_iconid;

    private int countPages = 0;


    public void setT_id(int t_id) {
        this.t_id = t_id;
    }

    public int getT_id() {
        return t_id;
    }

    public void setT_name(String t_name) {
        this.t_name = t_name;
    }

    public String getT_name() {
        return t_name;
    }

    public void setT_replies(int t_replies) {
        this.t_replies = t_replies;
    }

    public int getT_replies() {
        return t_replies;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name2(String u_name2) {
        this.u_name2 = u_name2;
    }

    public String getU_name2() {
        return u_name2;
    }

    public void setT_lasttime(java.util.Date t_lasttime) {
        this.t_lasttime = t_lasttime;
    }

    public java.util.Date getT_lasttime() {
        return t_lasttime;
    }

    public void setT_u_id(int t_u_id) {
        this.t_u_id = t_u_id;
    }

    public int getT_u_id() {
        return t_u_id;
    }

    public void setT_u_id2(int t_u_id2) {
        this.t_u_id2 = t_u_id2;
    }

    public int getT_u_id2() {
        return t_u_id2;
    }

    public void setT_views(String t_views) {
        this.t_views = t_views;
    }

    public String getT_views() {
        return t_views;
    }

    public void setT_order(int t_order) {
        this.t_order = t_order;
    }

    public int getT_order() {
        return t_order;
    }

    public void setT_locked(int t_locked) {
        this.t_locked = t_locked;
    }

    public int getT_locked() {
        return t_locked;
    }

    public void setT_iconid(int t_iconid) {
        this.t_iconid = t_iconid;
    }

    public int getT_iconid() {
        return t_iconid;
    }

    public String getUrlToPosterInfo() {
        return urlToPosterInfo;
    }

    public void setUrlToPosterInfo(String urlToPosterInfo) {
        this.urlToPosterInfo = urlToPosterInfo;
    }

    public String getUrlToLastPosterInfo() {
        return urlToLastPosterInfo;
    }

    public void setUrlToLastPosterInfo(String urlToLastPosterInfo) {
        this.urlToLastPosterInfo = urlToLastPosterInfo;
    }

    public int getCountPages() {
        return countPages;
    }

    public void setCountPages(int countPages) {
        this.countPages = countPages;
    }
}



See more files for this project here

riverock

Main project of riverock is Webmill portal. Webmill is CMS portal with build-in XML/XSLT transformation of content of portlet, JSR-168, JSF and other things.

Project homepage: http://sourceforge.net/projects/riverock
Programming language(s): Java,JSP,SQL,XML
License: other

  ForumBean.java
  ForumCategoryBean.java
  ForumConcreteBean.java
  ForumIntegrityBean.java
  ForumSmallBean.java
  ForumTopLevelBean.java
  GenericBean.java
  Message.java
  MessageBean.java
  PortalUserBean.java
  PostBean.java
  Topic.java
  TopicBean.java
  User.java
  UserBean.java
  UserListBean.java