001: /*
002: * $Header: /cvsroot/mvnforum/mvnforum/src/com/mvnforum/db/RankBean.java,v 1.10 2007/10/09 11:09:19 lexuanttkhtn Exp $
003: * $Author: lexuanttkhtn $
004: * $Revision: 1.10 $
005: * $Date: 2007/10/09 11:09:19 $
006: *
007: * ====================================================================
008: *
009: * Copyright (C) 2002-2007 by MyVietnam.net
010: *
011: * All copyright notices regarding mvnForum MUST remain
012: * intact in the scripts and in the outputted HTML.
013: * The "powered by" text/logo with a link back to
014: * http://www.mvnForum.com and http://www.MyVietnam.net in
015: * the footer of the pages MUST remain visible when the pages
016: * are viewed on the internet or intranet.
017: *
018: * This program is free software; you can redistribute it and/or modify
019: * it under the terms of the GNU General Public License as published by
020: * the Free Software Foundation; either version 2 of the License, or
021: * any later version.
022: *
023: * This program is distributed in the hope that it will be useful,
024: * but WITHOUT ANY WARRANTY; without even the implied warranty of
025: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
026: * GNU General Public License for more details.
027: *
028: * You should have received a copy of the GNU General Public License
029: * along with this program; if not, write to the Free Software
030: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
031: *
032: * Support can be obtained from support forums at:
033: * http://www.mvnForum.com/mvnforum/index
034: *
035: * Correspondence and Marketing Questions can be sent to:
036: * info at MyVietnam net
037: *
038: * @author: Minh Nguyen
039: * @author: Mai Nguyen
040: */
041: package com.mvnforum.db;
042:
043: import net.myvietnam.mvncore.util.StringUtil;
044:
045: /*
046: * Included columns: RankID, RankMinPosts, RankLevel, RankTitle, RankImage,
047: * RankType, RankOption
048: * Excluded columns:
049: */
050: public class RankBean {
051: private int rankID;
052: private int rankMinPosts;
053: private int rankLevel;
054: private String rankTitle;
055: private String rankImage;
056: private int rankType;
057: private int rankOption;
058:
059: public int getRankID() {
060: return rankID;
061: }
062:
063: public void setRankID(int rankID) {
064: this .rankID = rankID;
065: }
066:
067: public int getRankMinPosts() {
068: return rankMinPosts;
069: }
070:
071: public void setRankMinPosts(int rankMinPosts) {
072: this .rankMinPosts = rankMinPosts;
073: }
074:
075: public int getRankLevel() {
076: return rankLevel;
077: }
078:
079: public void setRankLevel(int rankLevel) {
080: this .rankLevel = rankLevel;
081: }
082:
083: public String getRankTitle() {
084: return rankTitle;
085: }
086:
087: public void setRankTitle(String rankTitle) {
088: this .rankTitle = StringUtil.getEmptyStringIfNull(rankTitle);
089: }
090:
091: public String getRankImage() {
092: return rankImage;
093: }
094:
095: public void setRankImage(String rankImage) {
096: this .rankImage = StringUtil.getEmptyStringIfNull(rankImage);
097: }
098:
099: public int getRankType() {
100: return rankType;
101: }
102:
103: public void setRankType(int rankType) {
104: this .rankType = rankType;
105: }
106:
107: public int getRankOption() {
108: return rankOption;
109: }
110:
111: public void setRankOption(int rankOption) {
112: this .rankOption = rankOption;
113: }
114:
115: } //end of class RankBean
|