01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package edu.iu.uis.eden.preferences.web;
18:
19: import org.apache.struts.action.ActionForm;
20:
21: import edu.iu.uis.eden.preferences.Preferences;
22:
23: /**
24: * Struts ActionForm for {@link PreferencesAction}.
25: *
26: * @see PreferencesAction
27: *
28: * @author rkirkend
29: */
30: public class PreferencesForm extends ActionForm {
31:
32: private static final long serialVersionUID = 4536869031291955777L;
33: private Preferences preferences;
34: private String methodToCall = "";
35: private String returnMapping;
36:
37: public String getReturnMapping() {
38: return returnMapping;
39: }
40:
41: public void setReturnMapping(String returnMapping) {
42: this .returnMapping = returnMapping;
43: }
44:
45: public PreferencesForm() {
46: preferences = new Preferences();
47: }
48:
49: public String getMethodToCall() {
50: return methodToCall;
51: }
52:
53: public void setMethodToCall(String methodToCall) {
54: this .methodToCall = methodToCall;
55: }
56:
57: public Preferences getPreferences() {
58: return preferences;
59: }
60:
61: public void setPreferences(Preferences preferences) {
62: this .preferences = preferences;
63: }
64: }
65:
66: /*
67: * Copyright 2003 The Trustees of Indiana University. All rights reserved. This file is part of the EDEN software package. For license information, see the LICENSE file in the top level directory of the EDEN source distribution.
68: */
|