001: /**
002: * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999.
003: *
004: * This program is free software; you can redistribute it and/or modify
005: * it under the terms of the latest version of the GNU Lesser General
006: * Public License as published by the Free Software Foundation;
007: *
008: * This program is distributed in the hope that it will be useful,
009: * but WITHOUT ANY WARRANTY; without even the implied warranty of
010: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
011: * GNU Lesser General Public License for more details.
012: *
013: * You should have received a copy of the GNU Lesser General Public License
014: * along with this program (LICENSE.txt); if not, write to the Free Software
015: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
016: */package org.jamwiki.model;
017:
018: import org.jamwiki.utils.WikiLogger;
019:
020: /**
021: * Provides an object representing a Wiki category.
022: */
023: public class Category {
024:
025: private static final WikiLogger logger = WikiLogger
026: .getLogger(Category.class.getName());
027: private String childTopicName = null;
028: private String name = null;
029: private String sortKey = null;
030: private int topicType = -1;
031: private String virtualWiki = null;
032:
033: /**
034: *
035: */
036: public Category() {
037: }
038:
039: /**
040: *
041: */
042: public String getChildTopicName() {
043: return this .childTopicName;
044: }
045:
046: /**
047: *
048: */
049: public void setChildTopicName(String childTopicName) {
050: this .childTopicName = childTopicName;
051: }
052:
053: /**
054: *
055: */
056: public String getName() {
057: return this .name;
058: }
059:
060: /**
061: *
062: */
063: public void setName(String name) {
064: this .name = name;
065: }
066:
067: /**
068: *
069: */
070: public String getSortKey() {
071: return this .sortKey;
072: }
073:
074: /**
075: *
076: */
077: public void setSortKey(String sortKey) {
078: this .sortKey = sortKey;
079: }
080:
081: /**
082: *
083: */
084: public int getTopicType() {
085: return this .topicType;
086: }
087:
088: /**
089: *
090: */
091: public void setTopicType(int topicType) {
092: this .topicType = topicType;
093: }
094:
095: /**
096: *
097: */
098: public String getVirtualWiki() {
099: return this .virtualWiki;
100: }
101:
102: /**
103: *
104: */
105: public void setVirtualWiki(String virtualWiki) {
106: this.virtualWiki = virtualWiki;
107: }
108: }
|