1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.demo.kitchensink;
17
18 import java.io.Serializable;
19 import java.util.ArrayList;
20 import java.util.List;
21
22
23
24
25
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
38
39
40 public UITestListObject() {
41 }
42
43
44
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
56
57 public String getField1() {
58 return this.field1;
59 }
60
61
62
63
64 public void setField1(String field1) {
65 this.field1 = field1;
66 }
67
68
69
70
71 public String getField2() {
72 return this.field2;
73 }
74
75
76
77
78 public void setField2(String field2) {
79 this.field2 = field2;
80 }
81
82
83
84
85 public String getField3() {
86 return this.field3;
87 }
88
89
90
91
92 public void setField3(String field3) {
93 this.field3 = field3;
94 }
95
96
97
98
99 public String getField4() {
100 return this.field4;
101 }
102
103
104
105
106 public void setField4(String field4) {
107 this.field4 = field4;
108 }
109
110
111
112
113 public void setSubList(List<UITestListObject> subList) {
114 this.subList = subList;
115 }
116
117
118
119
120 public List<UITestListObject> getSubList() {
121 return subList;
122 }
123
124 }