Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 6 7 package org.contineo.documan; 8 9 import javax.servlet.http.HttpServletRequest ; 10 import org.apache.struts.action.ActionMapping; 11 import org.apache.struts.validator.ValidatorForm; 12 13 17 public class Article extends ValidatorForm { 18 19 private static final long serialVersionUID = 1L; 20 21 24 private int articleId; 25 private int docid; 26 29 private String subject; 30 33 private String message; 34 37 private String articleDate; 38 41 private String username; 42 43 44 45 public Article() { 46 articleId = 0; 47 docid = 0; 48 subject = ""; 49 message = ""; 50 articleDate = ""; 51 username = ""; 52 } 53 54 59 public String getArticleDate() { 60 return articleDate; 61 } 62 63 68 public void setArticleDate(String articleDate) { 69 this.articleDate = articleDate; 70 } 71 72 77 public int getArticleId() { 78 return articleId; 79 } 80 81 86 public void setArticleId(int articleId) { 87 this.articleId = articleId; 88 } 89 90 95 public int getDocid() { 96 return docid; 97 } 98 99 104 public void setDocid(int documentId) { 105 this.docid = documentId; 106 } 107 108 113 public String getMessage() { 114 return message; 115 } 116 117 122 public void setMessage(String message) { 123 this.message = message; 124 } 125 126 131 public String getSubject() { 132 return subject; 133 } 134 135 140 public void setSubject(String subject) { 141 this.subject = subject; 142 } 143 144 149 public String getUsername() { 150 return username; 151 } 152 153 158 public void setUsername(String username) { 159 this.username = username; 160 } 161 162 163 public void reset(ActionMapping mapping, HttpServletRequest request) { 164 articleId = 0; 165 docid = 0; 166 subject = ""; 167 message = ""; 168 articleDate = ""; 169 username = ""; 170 } 171 } 172
| Popular Tags
|