001: /*
002: Very Quick Wiki - WikiWikiWeb clone
003: Copyright (C) 2001-2002 Gareth Cronin
004:
005: This program is free software; you can redistribute it and/or modify
006: it under the terms of the latest version of the GNU Lesser General
007: Public License as published by the Free Software Foundation;
008:
009: This program is distributed in the hope that it will be useful,
010: but WITHOUT ANY WARRANTY; without even the implied warranty of
011: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012: GNU Lesser General Public License for more details.
013:
014: You should have received a copy of the GNU Lesser General Public License
015: along with this program (gpl.txt); if not, write to the Free Software
016: Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
017: */
018: package vqwiki.servlets.beans;
019:
020: import java.util.List;
021:
022: /**
023: * Bean, which represents the information of one line in the sitemap.
024: *
025: * This class was created on 20:34:52 20.07.2003
026: *
027: * @author $Author: wrh2 $
028: */
029: public class SitemapLineBean {
030:
031: private String topic;
032: private List levels;
033: private String group;
034: private boolean hasChildren;
035:
036: /**
037: * @return
038: */
039: public List getLevels() {
040: return levels;
041: }
042:
043: /**
044: * @return
045: */
046: public String getTopic() {
047: return topic;
048: }
049:
050: /**
051: * @param list
052: */
053: public void setLevels(List list) {
054: levels = list;
055: }
056:
057: /**
058: * @param string
059: */
060: public void setTopic(String string) {
061: topic = string;
062: }
063:
064: /**
065: * @return
066: */
067: public boolean isHasChildren() {
068: return hasChildren;
069: }
070:
071: /**
072: * @return
073: */
074: public boolean getHasChildren() {
075: return hasChildren;
076: }
077:
078: /**
079: * @param b
080: */
081: public void setHasChildren(boolean b) {
082: hasChildren = b;
083: }
084:
085: /**
086: * @return
087: */
088: public String getGroup() {
089: return group;
090: }
091:
092: /**
093: * @param string
094: */
095: public void setGroup(String string) {
096: group = string;
097: }
098: }
099:
100: /*
101: * Log:
102: *
103: * $Log$
104: * Revision 1.4 2006/04/19 23:55:16 wrh2
105: * Coding style updates (VQW-73).
106: *
107: * Revision 1.3 2003/10/05 05:07:32 garethc
108: * fixes and admin file encoding option + merge with contributions
109: *
110: * Revision 1.2 2003/07/21 20:58:34 mrgadget4711
111: * ADD: Dynamically open / close subtrees in IE (using DHTML)
112: *
113: * Revision 1.1 2003/07/20 20:34:40 mrgadget4711
114: * ADD: Sitemap
115: *
116: * ------------END------------
117: */
|