01: /*
02: JSPWiki - a JSP-based WikiWiki clone.
03:
04: Copyright (C) 2001-2007 Janne Jalkanen (Janne.Jalkanen@iki.fi)
05:
06: This program is free software; you can redistribute it and/or modify
07: it under the terms of the GNU Lesser General Public License as published by
08: the Free Software Foundation; either version 2.1 of the License, or
09: (at your option) any later version.
10:
11: This program is distributed in the hope that it will be useful,
12: but WITHOUT ANY WARRANTY; without even the implied warranty of
13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: GNU Lesser General Public License for more details.
15:
16: You should have received a copy of the GNU Lesser General Public License
17: along with this program; if not, write to the Free Software
18: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: */
20: package com.ecyrd.jspwiki.rss;
21:
22: import com.ecyrd.jspwiki.WikiPage;
23:
24: /**
25: * @author jalkanen
26: *
27: * @since
28: */
29: public class Entry {
30: private String m_content;
31: private String m_URL;
32: private String m_title;
33: private WikiPage m_page;
34: private String m_author;
35:
36: public void setAuthor(String author) {
37: m_author = author;
38: }
39:
40: public String getAuthor() {
41: return m_author;
42: }
43:
44: public WikiPage getPage() {
45: return m_page;
46: }
47:
48: public void setPage(WikiPage p) {
49: m_page = p;
50: }
51:
52: public void setTitle(String title) {
53: m_title = title;
54: }
55:
56: public String getTitle() {
57: return m_title;
58: }
59:
60: public void setURL(String url) {
61: m_URL = url;
62: }
63:
64: public String getURL() {
65: return m_URL;
66: }
67:
68: public void setContent(String content) {
69: m_content = content;
70: }
71:
72: public String getContent() {
73: return m_content;
74: }
75: }
|