001: /*
002: * $Header: /cvsroot/mvnforum/mvnforum/src/com/mvnforum/db/PollAnswerBean.java,v 1.4 2007/12/10 03:21:11 minhnn Exp $
003: * $Author: minhnn $
004: * $Revision: 1.4 $
005: * $Date: 2007/12/10 03:21:11 $
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: Phuong, Pham Dinh Duy
039: */
040: package com.mvnforum.db;
041:
042: import java.sql.Timestamp;
043:
044: public class PollAnswerBean {
045:
046: public final static int POLL_ANSWER_TYPE_NORMAL = 0;
047: public final static int POLL_ANSWER_TYPE_NEED_YOUR_OPINION = 1;
048:
049: private int pollAnswerID;
050: private int pollID;
051: private String pollAnswerText;
052: private int pollAnswerOrder;
053: private int pollAnswerOption;
054: private int pollAnswerStatus;
055: private int pollAnswerType;
056: private Timestamp pollAnswerCreationDate;
057: private Timestamp pollAnswerModifiedDate;
058:
059: public int getPollAnswerID() {
060: return pollAnswerID;
061: }
062:
063: public void setPollAnswerID(int pollAnswerID) {
064: this .pollAnswerID = pollAnswerID;
065: }
066:
067: public int getPollID() {
068: return pollID;
069: }
070:
071: public void setPollID(int pollID) {
072: this .pollID = pollID;
073: }
074:
075: public String getPollAnswerText() {
076: return pollAnswerText;
077: }
078:
079: public void setPollAnswerText(String pollAnswerText) {
080: this .pollAnswerText = pollAnswerText;
081: }
082:
083: public int getPollAnswerOrder() {
084: return pollAnswerOrder;
085: }
086:
087: public void setPollAnswerOrder(int pollAnswerOrder) {
088: this .pollAnswerOrder = pollAnswerOrder;
089: }
090:
091: public int getPollAnswerOption() {
092: return pollAnswerOption;
093: }
094:
095: public void setPollAnswerOption(int pollAnswerOption) {
096: this .pollAnswerOption = pollAnswerOption;
097: }
098:
099: public int getPollAnswerStatus() {
100: return pollAnswerStatus;
101: }
102:
103: public void setPollAnswerStatus(int pollAnswerStatus) {
104: this .pollAnswerStatus = pollAnswerStatus;
105: }
106:
107: public int getPollAnswerType() {
108: return pollAnswerType;
109: }
110:
111: public void setPollAnswerType(int pollAnswerType) {
112: this .pollAnswerType = pollAnswerType;
113: }
114:
115: public Timestamp getPollAnswerCreationDate() {
116: return pollAnswerCreationDate;
117: }
118:
119: public void setPollAnswerCreationDate(
120: Timestamp pollAnswerCreationDate) {
121: this .pollAnswerCreationDate = pollAnswerCreationDate;
122: }
123:
124: public Timestamp getPollAnswerModifiedDate() {
125: return pollAnswerModifiedDate;
126: }
127:
128: public void setPollAnswerModifiedDate(
129: Timestamp pollAnswerModifiedDate) {
130: this.pollAnswerModifiedDate = pollAnswerModifiedDate;
131: }
132:
133: }
|