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.jobs.view.jsf.forms.AbstractParameterForm;
21 import org.bejug.javacareers.jobs.model.AbstractParameter;
22
23 /***
24 * The class has been created as a patch for the not working sessionScope
25 * problem with JSF-Spring.
26 *
27 * @author Stephan Janssen (last modified by $Author: stephan_janssen $)
28 * @version $Revision: 1.5 $ - $Date: 2005/10/11 11:58:03 $
29 */
30 public class CurrentParameter {
31
32 /***
33 * The current parameter.
34 */
35 private AbstractParameter parameter;
36
37 /***
38 * The form operating on the parameter.
39 */
40 private AbstractParameterForm form;
41
42 /***
43 * Get the stored parameter.
44 * @return Returns the parameter.
45 */
46 public AbstractParameter getParameter() {
47 return parameter;
48 }
49
50 /***
51 * Set the stored parameter.
52 * @param parameter The parameter to set.
53 */
54 public void setParameter(AbstractParameter parameter) {
55 this.parameter = parameter;
56 }
57 /***
58 * @return Returns the form.
59 */
60 public AbstractParameterForm getForm() {
61 return form;
62 }
63 /***
64 * @param form The form to set.
65 */
66 public void setForm(AbstractParameterForm form) {
67 this.form = form;
68 }
69 }
70 /***
71 * $Log: CurrentParameter.java,v $
72 * Revision 1.5 2005/10/11 11:58:03 stephan_janssen
73 * Code cleanup.
74 *
75 * Revision 1.4 2005/10/11 11:08:45 stephan_janssen
76 * Corrected AbstractParameter import.
77 *
78 * Revision 1.3 2005/08/31 12:16:42 bme_jcs
79 * refactoring of the abstract base-classes
80 *
81 * Revision 1.2 2005/06/09 08:18:53 bejug_cc
82 * Fix initial import
83 *
84 * Revision 1.1 2005/06/07 14:07:57 kva
85 * added confirmation prior to deleting user, profile, organisation type and rss feed.
86 *
87 *
88 *
89 */