Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
UITestListObject |
|
| 1.0;1 |
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 | 0 | private List<UITestListObject> subList = new ArrayList<UITestListObject>(); |
33 | private static final long serialVersionUID = -7525378097732916411L; | |
34 | ||
35 | ||
36 | /** | |
37 | * This constructs a ... | |
38 | * | |
39 | */ | |
40 | 0 | public UITestListObject() { |
41 | 0 | } |
42 | ||
43 | /** | |
44 | * This constructs a ... | |
45 | * | |
46 | */ | |
47 | 0 | public UITestListObject(String field1, String field2, String field3, String field4) { |
48 | 0 | this.field1 = field1; |
49 | 0 | this.field2 = field2; |
50 | 0 | this.field3 = field3; |
51 | 0 | this.field4 = field4; |
52 | 0 | } |
53 | ||
54 | /** | |
55 | * @return the field1 | |
56 | */ | |
57 | public String getField1() { | |
58 | 0 | return this.field1; |
59 | } | |
60 | ||
61 | /** | |
62 | * @param field1 the field1 to set | |
63 | */ | |
64 | public void setField1(String field1) { | |
65 | 0 | this.field1 = field1; |
66 | 0 | } |
67 | ||
68 | /** | |
69 | * @return the field2 | |
70 | */ | |
71 | public String getField2() { | |
72 | 0 | return this.field2; |
73 | } | |
74 | ||
75 | /** | |
76 | * @param field2 the field2 to set | |
77 | */ | |
78 | public void setField2(String field2) { | |
79 | 0 | this.field2 = field2; |
80 | 0 | } |
81 | ||
82 | /** | |
83 | * @return the field3 | |
84 | */ | |
85 | public String getField3() { | |
86 | 0 | return this.field3; |
87 | } | |
88 | ||
89 | /** | |
90 | * @param field3 the field3 to set | |
91 | */ | |
92 | public void setField3(String field3) { | |
93 | 0 | this.field3 = field3; |
94 | 0 | } |
95 | ||
96 | /** | |
97 | * @return the field4 | |
98 | */ | |
99 | public String getField4() { | |
100 | 0 | return this.field4; |
101 | } | |
102 | ||
103 | /** | |
104 | * @param field4 the field4 to set | |
105 | */ | |
106 | public void setField4(String field4) { | |
107 | 0 | this.field4 = field4; |
108 | 0 | } |
109 | ||
110 | /** | |
111 | * @param subList the subList to set | |
112 | */ | |
113 | public void setSubList(List<UITestListObject> subList) { | |
114 | 0 | this.subList = subList; |
115 | 0 | } |
116 | ||
117 | /** | |
118 | * @return the subList | |
119 | */ | |
120 | public List<UITestListObject> getSubList() { | |
121 | 0 | return subList; |
122 | } | |
123 | ||
124 | } |