KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > geinuke > vo > WikiArticleVO


1
2
3  /*
4  -- GeiNuke --
5 Copyright (c) 2005 by Roberto Sidoti [geinuke@users.sourceforge.net]
6  http://www.hostingjava.it/-geinuke/
7
8 This file is part of GeiNuke.
9
10     GeiNuke is free software; you can redistribute it and/or modify
11     it under the terms of the GNU General Public License as published by
12     the Free Software Foundation; either version 2 of the License, or
13     (at your option) any later version.
14
15     GeiNuke is distributed in the hope that it will be useful,
16     but WITHOUT ANY WARRANTY; without even the implied warranty of
17     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18     GNU General Public License for more details.
19
20     You should have received a copy of the GNU General Public License
21     along with GeiNuke; if not, write to the Free Software
22     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 */

24 package com.geinuke.vo;
25
26 import java.io.Serializable JavaDoc;
27 import java.util.ArrayList JavaDoc;
28
29
30 public class WikiArticleVO implements Serializable JavaDoc{
31     protected int WAId=-1;
32     protected String JavaDoc name=null;
33     protected String JavaDoc text=null;
34     protected ArrayList JavaDoc fileList=null;
35     protected boolean blocked=false;
36     protected long time=0;
37     
38     
39     public WikiArticleVO() {
40         this.fileList=new ArrayList JavaDoc();
41     }
42     public String JavaDoc getName() {
43         return name;
44     }
45     public void setName(String JavaDoc name) {
46         this.name = name;
47     }
48     public String JavaDoc getText() {
49         return text;
50     }
51     public void setText(String JavaDoc text) {
52         this.text = text;
53     }
54     public int getWAId() {
55         return WAId;
56     }
57     public void setWAId(int id) {
58         WAId = id;
59     }
60     public ArrayList JavaDoc getFileList() {
61         return fileList;
62     }
63     public void setFileList(ArrayList JavaDoc fileList) {
64         this.fileList = fileList;
65     }
66     public long getTime() {
67         return time;
68     }
69     public void setTime(long time) {
70         this.time = time;
71     }
72     /**
73      * @return Returns the blocked.
74      */

75     public boolean isBlocked() {
76         return blocked;
77     }
78     /**
79      * @param blocked The blocked to set.
80      */

81     public void setBlocked(boolean blocked) {
82         this.blocked = blocked;
83     }
84 }
85
Popular Tags