Show ForumBean.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.util.Collection;
/**
* @author SMaslyukov
* Date: 19.04.2005
* Time: 15:37:48
* $Id: ForumBean.java 1119 2006-12-02 22:35:13Z serg_main $
*/
public class ForumBean {
private String forumName = null;
private boolean isUseLocale = false;
private Collection forumCategories = null;
private String userSum;
private int messageSum;
private int topicSum;
private Long forumId;
private boolean isDeleted = false;
public String getForumName() {
return forumName;
}
public void setForumName(String forumName) {
this.forumName = forumName;
}
public Collection getForumCategories() {
return forumCategories;
}
public void setForumCategories(Collection forumCategories) {
this.forumCategories = forumCategories;
}
public boolean isUseLocale() {
return isUseLocale;
}
public void setUseLocale(boolean useLocale) {
isUseLocale = useLocale;
}
public void setTopicSum(int topicSum) {
this.topicSum = topicSum;
}
public int getTopicSum() {
return topicSum;
}
public void setMessageSum(int messageSum) {
this.messageSum = messageSum;
}
public int getMessageSum() {
return messageSum;
}
public void setUserSum(String userSum) {
this.userSum = userSum;
}
public String getUserSum() {
return userSum;
}
public void setForumId(Long forumId) {
this.forumId = forumId;
}
public Long getForumId() {
return forumId;
}
public boolean isDeleted() {
return isDeleted;
}
public void setDeleted(boolean deleted) {
isDeleted = deleted;
}
}
See more files for this project here