KickJava   Java API By Example, From Geeks To Geeks.

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


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

23 package com.geinuke.vo;
24
25 import java.io.Serializable JavaDoc;
26
27 import com.geinuke.common.NukeModuleI;
28
29
30 public class NukeModuleVO implements NukeModuleI,Serializable JavaDoc{
31     protected int id=-1;
32     protected int pos=-1;
33     protected String JavaDoc content=null;
34     protected String JavaDoc name=null;
35     protected String JavaDoc title=null;
36     protected int weight=-1;
37     protected int width=0;
38     protected String JavaDoc description=null;
39     protected boolean active=false;
40     protected int skin=0;
41     protected boolean dbStored=false;
42     
43     public String JavaDoc getContent() {
44         return content;
45     }
46     public void setContent(String JavaDoc content) {
47         this.content = content;
48     }
49     
50     public String JavaDoc getDescription() {
51         return description;
52     }
53     public void setDescription(String JavaDoc description) {
54         this.description = description;
55     }
56     public int getId() {
57         return id;
58     }
59     
60     public void setId(int id) {
61         this.id = id;
62     }
63     public String JavaDoc getName() {
64         return name;
65     }
66     public void setName(String JavaDoc name) {
67         this.name = name;
68     }
69     public int getPos() {
70         return pos;
71     }
72     public void setPos(int pos) {
73         this.pos = pos;
74     }
75     public int getWeight() {
76         return weight;
77     }
78     public void setWeight(int weight) {
79         this.weight = weight;
80     }
81     
82     public boolean isActive() {
83         return active;
84     }
85     public void setActive(boolean active) {
86         this.active = active;
87     }
88     /**
89      * @return Returns the title.
90      */

91     public String JavaDoc getTitle() {
92         return title;
93     }
94     /**
95      * @param title The title to set.
96      */

97     public void setTitle(String JavaDoc title) {
98         this.title = title;
99     }
100     public int getWidth() {
101         return width;
102     }
103     public void setWidth(int width) {
104         this.width = width;
105     }
106     public int getSkin() {
107         return skin;
108     }
109     public void setSkin(int skin) {
110         this.skin = skin;
111     }
112     public boolean isDbStored() {
113         return dbStored;
114     }
115     public void setDbStored(boolean dbStored) {
116         this.dbStored = dbStored;
117     }
118 }
119
Popular Tags