KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > javabb > vh > ForumConfigView


1 package org.javabb.vh;
2
3 public class ForumConfigView {
4     private String JavaDoc theme;
5
6     private String JavaDoc domain;
7
8     private String JavaDoc forumName;
9
10     private String JavaDoc lang;
11
12     private String JavaDoc dateFormat;
13
14     private String JavaDoc timeFormat;
15
16     private String JavaDoc buttonLang;
17
18     private String JavaDoc topicsPage;
19
20     private String JavaDoc postsPage;
21
22     private String JavaDoc notifyTopic;
23
24     private String JavaDoc smtpHost;
25
26     private String JavaDoc smtpUser;
27
28     private String JavaDoc smtpPassword;
29
30     private String JavaDoc adminMail;
31
32     private String JavaDoc floodControl;
33
34     private String JavaDoc forumAnnounceText;
35
36     /**
37      * @return Returns the dateFormat.
38      */

39     public String JavaDoc getDateFormat() {
40         return dateFormat;
41     }
42
43     /**
44      * @param dateFormat
45      * The dateFormat to set.
46      */

47     public void setDateFormat(String JavaDoc dateFormat) {
48         this.dateFormat = dateFormat;
49     }
50
51     /**
52      * @return Returns the domain.
53      */

54     public String JavaDoc getDomain() {
55         return domain;
56     }
57
58     /**
59      * @param domain
60      * The domain to set.
61      */

62     public void setDomain(String JavaDoc domain) {
63         this.domain = domain;
64     }
65
66     /**
67      * @return Returns the forumName.
68      */

69     public String JavaDoc getForumName() {
70         return forumName;
71     }
72
73     /**
74      * @param forumName
75      * The forumName to set.
76      */

77     public void setForumName(String JavaDoc forumName) {
78         this.forumName = forumName;
79     }
80
81     /**
82      * @return Returns the lang.
83      */

84     public String JavaDoc getLang() {
85         return lang;
86     }
87
88     /**
89      * @param lang
90      * The lang to set.
91      */

92     public void setLang(String JavaDoc lang) {
93         this.lang = lang;
94     }
95
96     /**
97      * @return Returns the postsPage.
98      */

99     public String JavaDoc getPostsPage() {
100         return postsPage;
101     }
102
103     /**
104      * @param postsPage
105      * The postsPage to set.
106      */

107     public void setPostsPage(String JavaDoc postsPage) {
108         this.postsPage = postsPage;
109     }
110
111     /**
112      * @return Returns the theme.
113      */

114     public String JavaDoc getTheme() {
115         return theme;
116     }
117
118     /**
119      * @param theme
120      * The theme to set.
121      */

122     public void setTheme(String JavaDoc theme) {
123         this.theme = theme;
124     }
125
126     /**
127      * @return Returns the timeFormat.
128      */

129     public String JavaDoc getTimeFormat() {
130         return timeFormat;
131     }
132
133     /**
134      * @param timeFormat
135      * The timeFormat to set.
136      */

137     public void setTimeFormat(String JavaDoc timeFormat) {
138         this.timeFormat = timeFormat;
139     }
140
141     /**
142      * @return Returns the topicsPage.
143      */

144     public String JavaDoc getTopicsPage() {
145         return topicsPage;
146     }
147
148     /**
149      * @param topicsPage
150      * The topicsPage to set.
151      */

152     public void setTopicsPage(String JavaDoc topicsPage) {
153         this.topicsPage = topicsPage;
154     }
155
156     /**
157      * @return Returns the buttonLang.
158      */

159     public String JavaDoc getButtonLang() {
160         return buttonLang;
161     }
162
163     /**
164      * @param buttonLang
165      * The buttonLang to set.
166      */

167     public void setButtonLang(String JavaDoc buttonLang) {
168         this.buttonLang = buttonLang;
169     }
170
171     /**
172      * @return Returns the notifyTopic.
173      */

174     public String JavaDoc getNotifyTopic() {
175         return notifyTopic;
176     }
177
178     /**
179      * @param notifyTopic
180      * The notifyTopic to set.
181      */

182     public void setNotifyTopic(String JavaDoc notifyTopic) {
183         this.notifyTopic = notifyTopic;
184     }
185
186     /**
187      * @return Returns the smtpHost.
188      */

189     public String JavaDoc getSmtpHost() {
190         return smtpHost;
191     }
192
193     /**
194      * @param smtpHost
195      * The smtpHost to set.
196      */

197     public void setSmtpHost(String JavaDoc smtpHost) {
198         this.smtpHost = smtpHost;
199     }
200
201     /**
202      * @return Returns the smtpPassword.
203      */

204     public String JavaDoc getSmtpPassword() {
205         return smtpPassword;
206     }
207
208     /**
209      * @param smtpPassword
210      * The smtpPassword to set.
211      */

212     public void setSmtpPassword(String JavaDoc smtpPassword) {
213         this.smtpPassword = smtpPassword;
214     }
215
216     /**
217      * @return Returns the smtpUser.
218      */

219     public String JavaDoc getSmtpUser() {
220         return smtpUser;
221     }
222
223     /**
224      * @param smtpUser
225      * The smtpUser to set.
226      */

227     public void setSmtpUser(String JavaDoc smtpUser) {
228         this.smtpUser = smtpUser;
229     }
230
231     /**
232      * @return Returns the adminMail.
233      */

234     public String JavaDoc getAdminMail() {
235         return adminMail;
236     }
237
238     /**
239      * @param adminMail
240      * The adminMail to set.
241      */

242     public void setAdminMail(String JavaDoc adminMail) {
243         this.adminMail = adminMail;
244     }
245
246     /**
247      * @return Returns the floodControl.
248      */

249     public String JavaDoc getFloodControl() {
250         return floodControl;
251     }
252
253     /**
254      * @param floodControl
255      * The floodControl to set.
256      */

257     public void setFloodControl(String JavaDoc floodControl) {
258         this.floodControl = floodControl;
259     }
260
261     public String JavaDoc getForumAnnounceText() {
262         return forumAnnounceText;
263     }
264
265     public void setForumAnnounceText(String JavaDoc forumAnnounceText) {
266         this.forumAnnounceText = (forumAnnounceText != null && !""
267                 .equals(forumAnnounceText)) ? forumAnnounceText.replaceAll(
268                 "\"", "'") : forumAnnounceText;
269     }
270 }
Popular Tags