KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > forms > EMailForm


1 /*
2  * Created on 04.04.2004
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package org.contineo.forms;
8
9 import javax.servlet.http.HttpServletRequest JavaDoc;
10 import org.apache.struts.action.ActionMapping;
11 import org.apache.struts.validator.ValidatorForm;
12
13 /**
14  * @author Michael Scholz
15  *
16  * To change the template for this generated type comment go to
17  * Window>Preferences>Java>Code Generation>Code and Comments
18  */

19 public class EMailForm extends ValidatorForm {
20
21     private static final long serialVersionUID = 1L;
22     
23     /**
24      * @uml.property name="author"
25      */

26     private String JavaDoc author;
27     /**
28      * @uml.property name="recipient"
29      */

30     private String JavaDoc recipient;
31     /**
32      * @uml.property name="subject"
33      */

34     private String JavaDoc subject;
35     /**
36      * @uml.property name="text"
37      */

38     private String JavaDoc text;
39     /**
40      * @uml.property name="att0"
41      */

42     private String JavaDoc att0;
43     /**
44      * @uml.property name="att1"
45      */

46     private String JavaDoc att1;
47     /**
48      * @uml.property name="att2"
49      */

50     private String JavaDoc att2;
51     /**
52      * @uml.property name="att3"
53      */

54     private String JavaDoc att3;
55     /**
56      * @uml.property name="att4"
57      */

58     private String JavaDoc att4;
59     
60     /**
61      *
62      */

63     public EMailForm() {
64         author = "";
65         recipient = "";
66         subject = "";
67         text = "";
68         att0 = "";
69         att1 = "";
70         att2 = "";
71         att3 = "";
72         att4 = "";
73     }
74
75     /**
76      * @return
77      *
78      * @uml.property name="att0"
79      */

80     public String JavaDoc getAtt0() {
81         return att0;
82     }
83
84     /**
85      * @return
86      *
87      * @uml.property name="att1"
88      */

89     public String JavaDoc getAtt1() {
90         return att1;
91     }
92
93     /**
94      * @return
95      *
96      * @uml.property name="att2"
97      */

98     public String JavaDoc getAtt2() {
99         return att2;
100     }
101
102     /**
103      * @return
104      *
105      * @uml.property name="att3"
106      */

107     public String JavaDoc getAtt3() {
108         return att3;
109     }
110
111     /**
112      * @return
113      *
114      * @uml.property name="att4"
115      */

116     public String JavaDoc getAtt4() {
117         return att4;
118     }
119
120     /**
121      * @return
122      *
123      * @uml.property name="author"
124      */

125     public String JavaDoc getAuthor() {
126         return author;
127     }
128
129     /**
130      * @return
131      *
132      * @uml.property name="recipient"
133      */

134     public String JavaDoc getRecipient() {
135         return recipient;
136     }
137
138     /**
139      * @return
140      *
141      * @uml.property name="subject"
142      */

143     public String JavaDoc getSubject() {
144         return subject;
145     }
146
147     /**
148      * @return
149      *
150      * @uml.property name="text"
151      */

152     public String JavaDoc getText() {
153         return text;
154     }
155
156     /**
157      * @param string
158      *
159      * @uml.property name="att0"
160      */

161     public void setAtt0(String JavaDoc string) {
162         att0 = string;
163     }
164
165     /**
166      * @param string
167      *
168      * @uml.property name="att1"
169      */

170     public void setAtt1(String JavaDoc string) {
171         att1 = string;
172     }
173
174     /**
175      * @param string
176      *
177      * @uml.property name="att2"
178      */

179     public void setAtt2(String JavaDoc string) {
180         att2 = string;
181     }
182
183     /**
184      * @param string
185      *
186      * @uml.property name="att3"
187      */

188     public void setAtt3(String JavaDoc string) {
189         att3 = string;
190     }
191
192     /**
193      * @param string
194      *
195      * @uml.property name="att4"
196      */

197     public void setAtt4(String JavaDoc string) {
198         att4 = string;
199     }
200
201     /**
202      * @param string
203      *
204      * @uml.property name="author"
205      */

206     public void setAuthor(String JavaDoc string) {
207         author = string;
208     }
209
210     /**
211      * @param string
212      *
213      * @uml.property name="recipient"
214      */

215     public void setRecipient(String JavaDoc string) {
216         recipient = string;
217     }
218
219     /**
220      * @param string
221      *
222      * @uml.property name="subject"
223      */

224     public void setSubject(String JavaDoc string) {
225         subject = string;
226     }
227
228     /**
229      * @param string
230      *
231      * @uml.property name="text"
232      */

233     public void setText(String JavaDoc string) {
234         text = string;
235     }
236
237     public void reset(ActionMapping mapping, HttpServletRequest JavaDoc request) {
238         author = "";
239         recipient = "";
240         subject = "";
241         text = "";
242         att0 = "";
243         att1 = "";
244         att2 = "";
245         att3 = "";
246         att4 = "";
247     }
248 }
249
Popular Tags