1 /***
2 Copyright (C) 2005 The Java Community
3
4 This program is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free Software
6 Foundation; either version 2 of the License, or (at your option) any later
7 version.
8
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15 Place, Suite 330, Boston, MA 02111-1307 USA.
16
17 */
18 package org.bejug.javacareers.jobs.view.jsf.model;
19
20 import org.bejug.javacareers.feeder.model.RssFeed;
21
22 /***
23 * The class has been created as a patch for the not working sessionScope
24 * problem with JSF-Spring.
25 *
26 * @author Stephan Janssen (last modified by $Author: shally $)
27 * @version $Revision: 1.3 $ - $Date: 2005/12/06 08:49:09 $
28 */
29 public class CurrentRssFeed {
30
31 /***
32 * The current feed.
33 */
34 private RssFeed feed;
35
36 /***
37 * @return Returns the feed.
38 */
39 public RssFeed getFeed() {
40 return feed;
41 }
42
43 /***
44 * @param feed The feed to set.
45 */
46 public void setFeed(RssFeed feed) {
47 this.feed = feed;
48 }
49
50 /***
51 * Gets a String representation of this feed
52 *
53 * @return String A string representation of this feed's properties
54 */
55 public String toString() {
56 final StringBuffer buf = new StringBuffer();
57 buf.append("CurrentRssFeed");
58 buf.append("{feed=").append(feed);
59 buf.append('}');
60 return buf.toString();
61 }
62 }
63 /***
64 * $Log: CurrentRssFeed.java,v $
65 * Revision 1.3 2005/12/06 08:49:09 shally
66 * Allow editing in admin
67 *
68 * Revision 1.2 2005/06/09 08:18:53 bejug_cc
69 * Fix initial import
70 *
71 * Revision 1.1 2005/06/07 14:07:57 kva
72 * added confirmation prior to deleting user, profile, organisation type and rss feed.
73 *
74 *
75 *
76 */