1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.seasar.tuigwaa.view;
17
18 public class FormElement {
19
20 private String attrName;
21
22 private String name;
23
24 private String label;
25
26 private String element;
27
28 private boolean required;
29
30 private String description;
31
32
33
34
35
36
37
38
39
40
41 public FormElement(String attrName, String name, String label, String element,
42 boolean required, String description) {
43 this.attrName = attrName;
44 this.name = name;
45 this.label = label;
46 this.element = element;
47 this.required = required;
48 this.description = description;
49 }
50
51 public void setAttrName(String attrName) {
52 this.attrName = attrName;
53 }
54
55 public String getAttrName() {
56 return attrName;
57 }
58
59 public String getElement() {
60 return element;
61 }
62
63 public void setElement(String element) {
64 this.element = element;
65 }
66
67 public String getDescription() {
68 return description;
69 }
70
71 public void setDescription(String description) {
72 this.description = description;
73 }
74
75 public String getLabel() {
76 return label;
77 }
78
79 public void setLabel(String label) {
80 this.label = label;
81 }
82
83 public String getName() {
84 return name;
85 }
86
87 public void setName(String name) {
88 this.name = name;
89 }
90
91 public boolean isRequired() {
92 return required;
93 }
94
95 public void setRequired(boolean required) {
96 this.required = required;
97 }
98 }