1
2
3
4
5 package hu.elte.tribus.form;
6
7 import javax.servlet.http.HttpServletRequest;
8
9 import org.apache.struts.action.ActionErrors;
10 import org.apache.struts.action.ActionForm;
11 import org.apache.struts.action.ActionMapping;
12
13 /***
14 * MyEclipse Struts
15 * Creation date: 11-12-2006
16 *
17 * XDoclet definition:
18 * @struts.form name="topicForm"
19 */
20 public class TopicForm extends ActionForm {
21
22
23
24
25 /*** name property */
26 private String name;
27
28 /*** desc property */
29 private String desc;
30
31
32
33
34
35 /***
36 * Method validate
37 * @param mapping
38 * @param request
39 * @return ActionErrors
40 */
41 public ActionErrors validate(ActionMapping mapping,
42 HttpServletRequest request) {
43
44 return null;
45 }
46
47 /***
48 * Method reset
49 * @param mapping
50 * @param request
51 */
52 public void reset(ActionMapping mapping, HttpServletRequest request) {
53
54 }
55
56 /***
57 * Returns the name.
58 * @return String
59 */
60 public String getName() {
61 return name;
62 }
63
64 /***
65 * Set the name.
66 * @param name The name to set
67 */
68 public void setName(String name) {
69 this.name = name;
70 }
71
72 /***
73 * Returns the desc.
74 * @return String
75 */
76 public String getDesc() {
77 return desc;
78 }
79
80 /***
81 * Set the desc.
82 * @param desc The desc to set
83 */
84 public void setDesc(String desc) {
85 this.desc = desc;
86 }
87 }