1 /**
2 * Copyright 2005-2011 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package edu.sampleu.travel.krad.form;
17
18 import java.io.Serializable;
19 import java.util.ArrayList;
20 import java.util.List;
21
22 /**
23 * For test view purposes only
24 *
25 * @author Kuali Rice Team (rice.collab@kuali.org)
26 */
27 public class UITestListObject implements Serializable {
28 private String field1;
29 private String field2;
30 private String field3;
31 private String field4;
32 private List<UITestListObject> subList = new ArrayList<UITestListObject>();
33 private static final long serialVersionUID = -7525378097732916411L;
34
35
36 /**
37 * This constructs a ...
38 *
39 */
40 public UITestListObject() {
41 }
42
43 /**
44 * This constructs a ...
45 *
46 */
47 public UITestListObject(String field1, String field2, String field3, String field4) {
48 this.field1 = field1;
49 this.field2 = field2;
50 this.field3 = field3;
51 this.field4 = field4;
52 }
53
54 /**
55 * @return the field1
56 */
57 public String getField1() {
58 return this.field1;
59 }
60
61 /**
62 * @param field1 the field1 to set
63 */
64 public void setField1(String field1) {
65 this.field1 = field1;
66 }
67
68 /**
69 * @return the field2
70 */
71 public String getField2() {
72 return this.field2;
73 }
74
75 /**
76 * @param field2 the field2 to set
77 */
78 public void setField2(String field2) {
79 this.field2 = field2;
80 }
81
82 /**
83 * @return the field3
84 */
85 public String getField3() {
86 return this.field3;
87 }
88
89 /**
90 * @param field3 the field3 to set
91 */
92 public void setField3(String field3) {
93 this.field3 = field3;
94 }
95
96 /**
97 * @return the field4
98 */
99 public String getField4() {
100 return this.field4;
101 }
102
103 /**
104 * @param field4 the field4 to set
105 */
106 public void setField4(String field4) {
107 this.field4 = field4;
108 }
109
110 /**
111 * @param subList the subList to set
112 */
113 public void setSubList(List<UITestListObject> subList) {
114 this.subList = subList;
115 }
116
117 /**
118 * @return the subList
119 */
120 public List<UITestListObject> getSubList() {
121 return subList;
122 }
123
124 }