1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.test;
17
18 import org.kuali.rice.krad.web.bind.RequestAccessible;
19 import org.kuali.rice.krad.web.bind.RequestProtected;
20 import org.kuali.rice.krad.web.form.UifFormBase;
21 import org.springframework.web.bind.annotation.RequestMethod;
22
23
24
25
26
27
28 public class TestForm extends UifFormBase {
29
30 @RequestAccessible
31 private String field1;
32
33 @RequestProtected
34 private String field2;
35
36 private String field3;
37
38 @RequestAccessible(method= RequestMethod.GET)
39 private String field4;
40
41 private String field5;
42
43 private String field6;
44
45 @RequestAccessible(methodToCalls = { "field7TestMethodToCall" })
46 private String field7;
47
48 private TestDataObject dataObject;
49
50 public String getField1() {
51 return field1;
52 }
53
54 public void setField1(String field1) {
55 this.field1 = field1;
56 }
57
58 public String getField2() {
59 return field2;
60 }
61
62 public void setField2(String field2) {
63 this.field2 = field2;
64 }
65
66 public String getField3() {
67 return field3;
68 }
69
70 public void setField3(String field3) {
71 this.field3 = field3;
72 }
73
74 public String getField4() {
75 return field4;
76 }
77
78 public void setField4(String field4) {
79 this.field4 = field4;
80 }
81
82 public String getField5() {
83 return field5;
84 }
85
86 public void setField5(String field5) {
87 this.field5 = field5;
88 }
89
90 public String getField6() {
91 return field6;
92 }
93
94 public void setField6(String field6) {
95 this.field6 = field6;
96 }
97
98 public TestDataObject getDataObject() {
99 return dataObject;
100 }
101
102 public void setDataObject(TestDataObject dataObject) {
103 this.dataObject = dataObject;
104 }
105 }