01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/jsf/tags/sakai_2-4-1/example/src/java/example/Wizard.java $
03: * $Id: Wizard.java 9278 2006-05-10 23:29:21Z ray@media.berkeley.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2003, 2004 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package example;
21:
22: import java.io.Serializable;
23: import java.util.List;
24:
25: /**
26: * <p>Test Person backing bean.</p>
27: * <p> </p>
28: * <p>Copyright: Copyright Sakai (c) 2005</p>
29: * <p> </p>
30: * @author Ed Smiley
31: * @version $Id: Wizard.java 9278 2006-05-10 23:29:21Z ray@media.berkeley.edu $
32: */
33:
34: public class Wizard implements Serializable {
35: private String first;
36: private String last;
37: private String text;
38: private List grades;
39: private String id;
40: private String address;
41:
42: public Wizard() {
43: }
44:
45: public String getFirst() {
46: return first;
47: }
48:
49: public void setFirst(String first) {
50: this .first = first;
51: }
52:
53: public String getLast() {
54: return last;
55: }
56:
57: public void setLast(String last) {
58: this .last = last;
59: }
60:
61: public String getText() {
62: return text;
63: }
64:
65: public void setText(String text) {
66: this .text = text;
67: }
68:
69: public List getGrades() {
70: return grades;
71: }
72:
73: public void setGrades(java.util.List grades) {
74: this .grades = grades;
75: }
76:
77: public String getId() {
78: return id;
79: }
80:
81: public void setId(String id) {
82: this .id = id;
83: }
84:
85: public String handleAction() {
86: return text;
87: }
88:
89: public String getAddress() {
90: return address;
91: }
92:
93: public void setAddress(String address) {
94: this.address = address;
95: }
96:
97: }
|