01: /**
02: * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999.
03: *
04: * This program is free software; you can redistribute it and/or modify
05: * it under the terms of the latest version of the GNU Lesser General
06: * Public License as published by the Free Software Foundation;
07: *
08: * This program is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11: * GNU Lesser General Public License for more details.
12: *
13: * You should have received a copy of the GNU Lesser General Public License
14: * along with this program (LICENSE.txt); if not, write to the Free Software
15: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16: */package org.jamwiki.model;
17:
18: import java.io.Serializable;
19: import org.jamwiki.utils.WikiLogger;
20:
21: /**
22: * Provides an object representing a virtual wiki.
23: */
24: public class VirtualWiki implements Serializable {
25:
26: private static final WikiLogger logger = WikiLogger
27: .getLogger(VirtualWiki.class.getName());
28: private String name = null;
29: private String defaultTopicName = null;
30: private int virtualWikiId = -1;
31:
32: /**
33: *
34: */
35: public VirtualWiki() {
36: }
37:
38: /**
39: *
40: */
41: public String getDefaultTopicName() {
42: return this .defaultTopicName;
43: }
44:
45: /**
46: *
47: */
48: public void setDefaultTopicName(String defaultTopicName) {
49: this .defaultTopicName = defaultTopicName;
50: }
51:
52: /**
53: *
54: */
55: public String getName() {
56: return this .name;
57: }
58:
59: /**
60: *
61: */
62: public void setName(String name) {
63: this .name = name;
64: }
65:
66: /**
67: *
68: */
69: public int getVirtualWikiId() {
70: return this .virtualWikiId;
71: }
72:
73: /**
74: *
75: */
76: public void setVirtualWikiId(int virtualWikiId) {
77: this.virtualWikiId = virtualWikiId;
78: }
79: }
|