View Javadoc
1 //============================================================================== 2 // file : NewsBean.java 3 // project: East Networks News System 4 // 5 // last change: date: $Date: 2003/09/10 09:28:36 $ 6 // by: $Author: bitiboy $ 7 // revision: $Revision: 1.1 $ 8 //------------------------------------------------------------------------------ 9 // copyright: GNU GPL Software License (see class documentation) 10 //============================================================================== 11 package net.eastol.news.jdo.bean; 12 13 14 /* 15 * $Id: NewsBean.java,v 1.1 2003/09/10 09:28:36 bitiboy Exp $ 16 * 17 * Copyright 2003 Acai Software All Rights Reserved. 18 * 19 * This file NewsBean.java is part of the East Networks News System. 20 21 * The East Networks News System is free software; you can redistribute it and/or modify 22 * it under the terms of the GNU General Public License as published by 23 * the Free Software Foundation; either version 2 of the License, or 24 * (at your option) any later version. 25 26 * East Networks News System is distributed in the hope that it will be useful, 27 * but WITHOUT ANY WARRANTY; without even the implied warranty of 28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29 * GNU General Public License for more details. 30 31 * You should have received a copy of the GNU General Public License 32 * along with the East Networks News System; if not, write to the Free Software 33 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 34 35 * http://www.justhis.com http://ejb.cn 36 * CONTACT: email = webmaster@justhis.com superaxis@sohu.com 37 */ 38 import java.util.ArrayList; 39 40 41 /*** 42 * TODO DOCUMENT ME! 43 * 44 * @author <a href="http://blog.ejb.cn">acai</a> 45 * @version $Revision $ 46 */ 47 public class NewsBean extends NewsBeanBase { 48 //~ Instance fields -------------------------------------------------------- 49 50 /*** TODO */ 51 public ArrayList keyNewsList = null; 52 53 /*** TODO */ 54 public String NClassId; 55 56 //public string author; 57 58 /*** TODO */ 59 public String authorFrom; 60 61 //public String classId; 62 63 /*** TODO */ 64 public String content; 65 66 /*** TODO */ 67 public String key; 68 69 /*** TODO */ 70 public String permitGroups; 71 72 /*** TODO */ 73 public boolean headLine; 74 75 /*** TODO */ 76 public boolean highlight; 77 78 /*** TODO */ 79 public boolean imgNews; 80 81 /*** TODO */ 82 public boolean isHtml; 83 84 /*** TODO */ 85 public int checkUserId = 0; 86 87 /*** TODO */ 88 public int dayHits = 0; 89 90 /*** TODO */ 91 public int memberId = 0; 92 93 /*** TODO */ 94 public int remarkNum; 95 96 //public String title; 97 //public String titleImg; 98 99 /*** TODO */ 100 public int topicId = 0; 101 102 /*** TODO */ 103 public int userId = 0; 104 105 /*** TODO */ 106 public int weekHits = 0; 107 108 //~ Constructors ----------------------------------------------------------- 109 110 /*** 111 * Creates a new NewsBean object. 112 */ 113 public NewsBean() { 114 super(); 115 116 117 } 118 119 //~ Methods ---------------------------------------------------------------- 120 121 /*** 122 * @param string 123 */ 124 public void setAuthorFrom(String string) { 125 authorFrom = string; 126 } 127 128 /*** 129 * @return TODO 130 */ 131 public String getAuthorFrom() { 132 return authorFrom; 133 } 134 135 /*** 136 * @param i 137 */ 138 public void setCheckUserId(int i) { 139 checkUserId = i; 140 } 141 142 /*** 143 * @return TODO 144 */ 145 public int getCheckUserId() { 146 return checkUserId; 147 } 148 149 /*** 150 * @param string 151 */ 152 public void setContent(String string) { 153 content = string; 154 } 155 156 /*** 157 * @return TODO 158 */ 159 public String getContent() { 160 return content; 161 } 162 163 /*** 164 * @param i 165 */ 166 public void setDayHits(int i) { 167 dayHits = i; 168 } 169 170 /*** 171 * @return TODO 172 */ 173 public int getDayHits() { 174 return dayHits; 175 } 176 177 /*** 178 * @param string 179 */ 180 public void setFrom(String string) { 181 authorFrom = string; 182 } 183 184 /*** 185 * @return TODO 186 */ 187 public String getFrom() { 188 return authorFrom; 189 } 190 191 /*** 192 * @param b 193 */ 194 public void setHeadLine(boolean b) { 195 headLine = b; 196 } 197 198 /*** 199 * @return TODO 200 */ 201 public boolean isHeadLine() { 202 return headLine; 203 } 204 205 /*** 206 * @param b 207 */ 208 public void setHighlight(boolean b) { 209 highlight = b; 210 } 211 212 /*** 213 * @return TODO 214 */ 215 public boolean isHighlight() { 216 return highlight; 217 } 218 219 /*** 220 * @param b 221 */ 222 public void setHtml(boolean b) { 223 isHtml = b; 224 } 225 226 /*** 227 * @return TODO 228 */ 229 public boolean isHtml() { 230 return isHtml; 231 } 232 233 /*** 234 * @param b 235 */ 236 public void setImgNews(boolean b) { 237 imgNews = b; 238 } 239 240 /*** 241 * @return TODO 242 */ 243 public boolean isImgNews() { 244 return imgNews; 245 } 246 247 /*** 248 * @param string 249 */ 250 public void setKey(String string) { 251 key = string; 252 } 253 254 /*** 255 * @return TODO 256 */ 257 public String getKey() { 258 return key; 259 } 260 261 /*** 262 * @param list 263 */ 264 public void setKeyNewsList(ArrayList list) { 265 keyNewsList = list; 266 } 267 268 /*** 269 * @return TODO 270 */ 271 public ArrayList getKeyNewsList() { 272 return keyNewsList; 273 } 274 275 /*** 276 * @param i 277 */ 278 public void setMemberId(int i) { 279 memberId = i; 280 } 281 282 /*** 283 * @return TODO 284 */ 285 public int getMemberId() { 286 return memberId; 287 } 288 289 /*** 290 * @param string 291 */ 292 public void setNClassId(String string) { 293 NClassId = string; 294 } 295 296 /*** 297 * @return TODO 298 */ 299 public String getNClassId() { 300 return NClassId; 301 } 302 303 /*** 304 * TODO 305 * 306 * @param objectId TODO 307 */ 308 public void setObjectId(String objectId) { 309 } 310 311 /*** 312 * @param string 313 */ 314 public void setPermitGroups(String string) { 315 permitGroups = string; 316 } 317 318 /*** 319 * @return TODO 320 */ 321 public String getPermitGroups() { 322 return permitGroups; 323 } 324 325 /*** 326 * @param i 327 */ 328 public void setRemarkNum(int i) { 329 remarkNum = i; 330 } 331 332 /*** 333 * @return TODO 334 */ 335 public int getRemarkNum() { 336 return remarkNum; 337 } 338 339 /*** 340 * @param i 341 */ 342 public void setTopicId(int i) { 343 topicId = i; 344 } 345 346 /*** 347 * @return TODO 348 */ 349 public int getTopicId() { 350 return topicId; 351 } 352 353 /*** 354 * @param i 355 */ 356 public void setUserId(int i) { 357 userId = i; 358 } 359 360 /*** 361 * @return TODO 362 */ 363 public int getUserId() { 364 return userId; 365 } 366 367 /*** 368 * @param i 369 */ 370 public void setWeekHits(int i) { 371 weekHits = i; 372 } 373 374 /*** 375 * @return TODO 376 */ 377 public int getWeekHits() { 378 return weekHits; 379 } 380 } 381 382 383 /* 384 * $Log: NewsBean.java,v $ 385 * Revision 1.1 2003/09/10 09:28:36 bitiboy 386 * *** empty log message *** 387 * 388 * 389 */

This page was automatically generated by Maven