2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.usecases.rolodex;
19
20 /***
21 * <p>This class simulates the classic struts FormBean. The
22 * request query parameter will be populated via the managed
23 * bean property setter injection.</p>
24
25 */
26 public class QueryParam {
27
28 /***
29 * <p>Holds the value of the target tab index when
30 * clicking on a tab, <code>"#{managed-bean-name.changeTab}"}</code>.
31 * </p>
32 */
33 private String tabIndex = null;
34
35 /***
36 * <p>Holds the selected name when clicking on a contact,
37 * <code>"#{managed-bean-name.selectContact}"</code>.</p>
38 */
39 private String selectedName = null;
40
41
42 /***
43 * @return Returns the tabIndex.
44 */
45 public String getTabIndex() {
46 return tabIndex;
47 }
48
49
50 /***
51 * @param tabIndex The tabIndex to set.
52 */
53 public void setTabIndex(String tabIndex) {
54 this.tabIndex = tabIndex;
55 }
56
57
58 /***
59 * @return Returns the selectedName.
60 */
61 public String getSelectedName() {
62 return selectedName;
63 }
64
65
66 /***
67 * @param selectedName The selectedName to set.
68 */
69 public void setSelectedName(String selectedName) {
70 this.selectedName = selectedName;
71 }
72
73 }