KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > communicator > applications > webtalk > controller > RestrictedAccessUserSearchForm


1
2 package com.quikj.application.communicator.applications.webtalk.controller;
3
4 import javax.servlet.http.HttpServletRequest JavaDoc;
5
6 import org.apache.struts.action.ActionErrors;
7 import org.apache.struts.action.ActionForm;
8 import org.apache.struts.action.ActionMapping;
9
10 /**
11  *
12  * @author bhm
13  */

14 public class RestrictedAccessUserSearchForm extends ActionForm
15 {
16     
17     /** Holds value of property name. */
18     private String JavaDoc name;
19     
20     /** Holds value of property additionalInfo. */
21     private String JavaDoc additionalInfo;
22     
23     /** Holds value of property fullName. */
24     private String JavaDoc fullName;
25     
26     /** Holds value of property email. */
27     private String JavaDoc email;
28     
29     /** Creates a new instance of UserSearchForm */
30     public RestrictedAccessUserSearchForm()
31     {
32         reset();
33     }
34     
35     /** Getter for property name.
36      * @return Value of property name.
37      *
38      */

39     public String JavaDoc getName()
40     {
41         return this.name;
42     }
43     
44     /** Setter for property name.
45      * @param name New value of property name.
46      *
47      */

48     public void setName(String JavaDoc name)
49     {
50         this.name = name.trim();
51     }
52     
53     /** Getter for property additionalInfo.
54      * @return Value of property additionalInfo.
55      *
56      */

57     public String JavaDoc getAdditionalInfo()
58     {
59         return this.additionalInfo;
60     }
61     
62     /** Setter for property additionalInfo.
63      * @param additionalInfo New value of property additionalInfo.
64      *
65      */

66     public void setAdditionalInfo(String JavaDoc additionalInfo)
67     {
68         this.additionalInfo = additionalInfo.trim();
69     }
70     
71     public ActionErrors validate(ActionMapping mapping, HttpServletRequest JavaDoc request)
72     {
73         return null;
74     }
75     
76     public void reset()
77     {
78         name = null;
79         additionalInfo = null;
80         fullName = null;
81         email = null;
82     }
83
84     /** Getter for property fullName.
85      * @return Value of property fullName.
86      *
87      */

88     public String JavaDoc getFullName()
89     {
90         return this.fullName;
91     }
92     
93     /** Setter for property fullName.
94      * @param fullName New value of property fullName.
95      *
96      */

97     public void setFullName(String JavaDoc fullName)
98     {
99         this.fullName = fullName.trim();
100     }
101     
102     /** Getter for property address.
103      * @return Value of property address.
104      *
105      */

106     public String JavaDoc getEmail()
107     {
108         return this.email;
109     }
110     
111     /** Setter for property address.
112      * @param address New value of property address.
113      *
114      */

115     public void setEmail(String JavaDoc email)
116     {
117         this.email = email.trim();
118     }
119     
120 }
121
Popular Tags