1 22 package com.geinuke.vo; 23 24 import java.util.ArrayList ; 25 26 public class SurveyVO { 27 protected int sid=-1; 28 protected int sType=-1; 29 protected int sStatus=-1; 30 protected String sText=null; 31 protected String sTitle=null; 32 protected long sDate=0; 33 protected ArrayList answers=null; 34 protected int checkType=0; 35 36 public static int TYPE_SINGLE_CHOOSE=0; 37 public static int STATUS_DISABLED=0; 38 public static int STATUS_ENABLED=1; 39 public static int STATUS_CURRENT=2; 40 41 public static int CHECK_TYPE_IP=0; 42 public static int CHECK_TYPE_USER=1; 43 44 public SurveyVO(){ 45 this.answers=new ArrayList (); 46 47 } 48 49 public ArrayList getAnswers() { 50 return answers; 51 } 52 public void setAnswers(ArrayList answers) { 53 this.answers = answers; 54 } 55 public long getSDate() { 56 return sDate; 57 } 58 public void setSDate(long date) { 59 sDate = date; 60 } 61 public int getSid() { 62 return sid; 63 } 64 public void setSid(int sid) { 65 this.sid = sid; 66 } 67 public int getSStatus() { 68 return sStatus; 69 } 70 public void setSStatus(int status) { 71 sStatus = status; 72 } 73 public String getSText() { 74 return sText; 75 } 76 public void setSText(String text) { 77 sText = text; 78 } 79 80 public int getSType() { 81 return sType; 82 } 83 public void setSType(int type) { 84 sType = type; 85 } 86 89 public String getSTitle() { 90 return sTitle; 91 } 92 95 public void setSTitle(String title) { 96 sTitle = title; 97 } 98 public int getCheckType() { 99 return checkType; 100 } 101 public void setCheckType(int checkType) { 102 this.checkType = checkType; 103 } 104 105 } 106 | Popular Tags |