KickJava   Java API By Example, From Geeks To Geeks.

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


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.NukeBlockI;
28
29 /**
30  *
31  * @author roby73
32  *
33  * Class used to show content into web pages
34  */

35 public class NukeBlockVO implements NukeBlockI,Serializable JavaDoc{
36     protected int id=-1;
37     protected int pos=-1;
38     protected String JavaDoc content=null;
39     protected String JavaDoc name=null;
40     protected int weight=-1;
41     protected String JavaDoc description=null;
42     protected boolean active=false;
43     protected String JavaDoc title=null;
44     
45     protected int skin=0;
46     protected boolean dbStored=false;
47
48     
49     public String JavaDoc getContent() {
50         return content;
51     }
52     public void setContent(String JavaDoc content) {
53         this.content = content;
54     }
55     public String JavaDoc getDescription() {
56         return description;
57     }
58     public void setDescription(String JavaDoc description) {
59         this.description = description;
60     }
61     public int getId() {
62         return id;
63     }
64     public void setId(int id) {
65         this.id = id;
66     }
67     public String JavaDoc getName() {
68         return name;
69     }
70     public void setName(String JavaDoc name) {
71         this.name = name;
72     }
73     public int getPos() {
74         return pos;
75     }
76     public void setPos(int pos) {
77         this.pos = pos;
78     }
79     
80     public int getWeight() {
81         return weight;
82     }
83     public void setWeight(int weight) {
84         this.weight = weight;
85     }
86     public boolean isActive() {
87         return active;
88     }
89     public void setActive(boolean active) {
90         this.active = active;
91     }
92     /**
93      * @return Returns the title.
94      */

95     public String JavaDoc getTitle() {
96         return title;
97     }
98     /**
99      * @param title The title to set.
100      */

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