1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.enrollment.kitchensink;
17
18 import java.io.Serializable;
19 import java.util.ArrayList;
20 import java.util.HashMap;
21 import java.util.List;
22 import java.util.Map;
23
24
25
26
27
28
29 public class UITestObject implements Serializable {
30 private static final long serialVersionUID = -7525378097732916411L;
31
32 private String field1;
33 private String field2;
34 private String field3;
35 private String field4;
36 private boolean bfield;
37
38 private Map<String, Object> remoteFieldValuesMap;
39
40 private List<UITestObject> subList = new ArrayList<UITestObject>();
41
42 public UITestObject() {
43 remoteFieldValuesMap = new HashMap<String, Object>();
44 remoteFieldValuesMap.put("remoteField1", "Apple");
45 remoteFieldValuesMap.put("remoteField2", "Banana");
46 remoteFieldValuesMap.put("remoteField3", true);
47 remoteFieldValuesMap.put("remoteField4", "Fruit");
48 }
49
50 public UITestObject(String field1, String field2, String field3, String field4) {
51 this.field1 = field1;
52 this.field2 = field2;
53 this.field3 = field3;
54 this.field4 = field4;
55
56 remoteFieldValuesMap = new HashMap<String, Object>();
57 remoteFieldValuesMap.put("remoteField1", "Apple");
58 remoteFieldValuesMap.put("remoteField2", "Banana");
59 remoteFieldValuesMap.put("remoteField3", true);
60 remoteFieldValuesMap.put("remoteField4", "Fruit");
61
62 }
63
64
65
66
67 public String getField1() {
68 return this.field1;
69 }
70
71
72
73
74 public void setField1(String field1) {
75 this.field1 = field1;
76 }
77
78
79
80
81 public String getField2() {
82 return this.field2;
83 }
84
85
86
87
88 public void setField2(String field2) {
89 this.field2 = field2;
90 }
91
92
93
94
95 public String getField3() {
96 return this.field3;
97 }
98
99
100
101
102 public void setField3(String field3) {
103 this.field3 = field3;
104 }
105
106
107
108
109 public String getField4() {
110 return this.field4;
111 }
112
113
114
115
116 public void setField4(String field4) {
117 this.field4 = field4;
118 }
119
120
121
122
123 public void setSubList(List<UITestObject> subList) {
124 this.subList = subList;
125 }
126
127
128
129
130 public List<UITestObject> getSubList() {
131 return subList;
132 }
133
134 public Map<String, Object> getRemoteFieldValuesMap() {
135 return remoteFieldValuesMap;
136 }
137
138 public void setRemoteFieldValuesMap(Map<String, Object> remoteFieldValuesMap) {
139 this.remoteFieldValuesMap = remoteFieldValuesMap;
140 }
141
142 public boolean isBfield() {
143 return bfield;
144 }
145
146 public void setBfield(boolean bfield) {
147 this.bfield = bfield;
148 }
149 }