001    /**
002     * Copyright 2005-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package edu.sampleu.demo.kitchensink;
017    
018    import org.apache.commons.lang.StringUtils;
019    import org.kuali.rice.core.api.util.tree.Node;
020    import org.kuali.rice.core.api.util.tree.Tree;
021    import org.kuali.rice.kim.api.identity.Person;
022    import org.kuali.rice.kim.api.services.KimApiServiceLocator;
023    import org.kuali.rice.krad.web.form.UifFormBase;
024    import org.springframework.web.multipart.MultipartFile;
025    
026    import javax.servlet.http.HttpServletRequest;
027    import java.util.ArrayList;
028    import java.util.HashMap;
029    import java.util.List;
030    import java.util.Map;
031    
032    /**
033     * Form for Test UI Page
034     *
035     * @author Kuali Rice Team (rice.collab@kuali.org)
036     */
037    public class UifComponentsTestForm extends UifFormBase {
038        private static final long serialVersionUID = -7525378097732916418L;
039    
040        private String field1;
041        private String field2;
042        private String field3;
043        private String field4;
044        private String field5;
045        private String field6;
046        private String field7;
047        private String field8;
048        private String field9;
049        private String field10;
050        private String field11;
051        private String field12;
052        private String field13;
053        private String field14;
054        private String field15;
055        private String field16;
056        private String field17;
057        private String field18;
058        private String field19;
059        private String field20;
060        private String field21;
061        private String field22;
062        private String field23;
063        private String field24;
064        private String field25;
065        private String field26;
066        private String field27;
067        private String field28;
068        private String field29;
069        private String field30;
070        private String field31;
071        private String field32;
072        private String field33;
073        private String field34;
074        private String field35;
075        private String field36;
076        private String field37;
077        private String field38;
078        private String field39;
079        private String field40;
080        private String field41;
081        private String field42;
082        private String field43;
083        private String field44;
084        private String field45;
085        private String field46;
086        private String field47 = "";
087        private String field48;
088        private String field49;
089        private String field50;
090        private String field51;
091        private String field52;
092        private String field53;
093        private String field54;
094        private String field55;
095        private String field56;
096        private String field57;
097        private String field58;
098        private String field59;
099        private String field60;
100        private String field61;
101        private String field62;
102        private String field63;
103        private String field64;
104        private String field65;
105        private String field66;
106        private String field67;
107        private String field68;
108        private String field69;
109        private String field70;
110        private String field71;
111        private String field72;
112        private String field73;
113        private String field74;
114        private String field75;
115        private String field76;
116        private String field77;
117        private String field78;
118        private String field79;
119        private String field80;
120        private String field81;
121        private String field82;
122        private String field83;
123        private String field84;
124        private String field85;
125        private String field86;
126        private String field87;
127        private String field88;
128        private String field89;
129        private String field90;
130        private String field91;
131        private String field92;
132        private String field100;
133        private String field101;
134        private String field102;
135        private String field103;
136        private String field104;
137        private String field105;
138        private String field106;
139        private String field107;
140        private String field108;
141        private String field109;
142        private String field110;
143        private String field111;
144        private String field112;
145        private String field113;
146        private List<String> field114;
147        private List<String> field115;
148        private List<String> field116;
149        private String field117;
150        private String field118;
151        private String field119;
152        private List<String> field120;
153        private String field121;
154        private String field122;
155        private String field123;
156        private String field124;
157        private String field125;
158        private String field126;
159        private String field127;
160        private String field128;
161        private String field129;
162        private String field130;
163        private Integer field131;
164    
165        private String testPersonId;
166        private Person testPerson;
167    
168        private String gField1;
169        private String gField2;
170        private String gField3;
171    
172        private String mField1 = "SecretInfo555";
173        private String mField2 = "SecretInfo111";
174        private String mField3 = "SecretInfo222";
175    
176        private MultipartFile fileUpload;
177    
178        private UITestObject uiTestObject;
179    
180        private List<UITestObject> list1 = new ArrayList<UITestObject>();
181        private List<UITestObject> list2 = new ArrayList<UITestObject>();
182        private List<UITestObject> list3 = new ArrayList<UITestObject>();
183        private List<UITestObject> list4 = new ArrayList<UITestObject>();
184        private List<UITestObject> list5 = new ArrayList<UITestObject>();
185        private List<UITestObject> list6 = new ArrayList<UITestObject>();
186    
187        private Tree<String, String> tree1 = new Tree<String, String>();
188        private Tree<UITestObject, String> tree2 = new Tree<UITestObject, String>();
189    
190        private boolean bField1;
191        private boolean bField2;
192        private boolean bField3;
193    
194        private Map<String, Object> remoteFieldValuesMap;
195        private Map<String, Object> remoteFieldValuesMap2;
196    
197        public UifComponentsTestForm() {
198            super();
199    
200            uiTestObject = new UITestObject("Foo", "FooBar", "FooBear", "FooRacket");
201    
202            list1.add(new UITestObject("A", "B", "C", "D"));
203            list1.add(new UITestObject("1", "2", "3", "4"));
204            list1.add(new UITestObject("W", "X", "Y", "Z"));
205            list1.add(new UITestObject("a", "b", "c", "d"));
206            list1.add(new UITestObject("a", "s", "d", "f"));
207    
208            list2.add(new UITestObject("A", "B", "C", "D"));
209            list2.add(new UITestObject("1", "2", "3", "4"));
210            list2.add(new UITestObject("W", "X", "Y", "Z"));
211            list2.add(new UITestObject("a", "b", "c", "d"));
212            list2.add(new UITestObject("a", "s", "d", "f"));
213    
214            list3.add(new UITestObject("A", "B", "C", "D"));
215            list3.add(new UITestObject("1", "2", "3", "4"));
216            list3.add(new UITestObject("W", "X", "Y", "Z"));
217    
218            list4.add(new UITestObject("A", "B", "C", "D"));
219            list4.get(0).getSubList().add(new UITestObject("A", "B", "C", "D"));
220            list4.get(0).getSubList().add(new UITestObject("1", "2", "3", "4"));
221            list4.get(0).getSubList().add(new UITestObject("W", "X", "Y", "Z"));
222            list4.add(new UITestObject("1", "2", "3", "4"));
223            list4.get(1).getSubList().add(new UITestObject("a", "b", "C", "D"));
224            list4.get(1).getSubList().add(new UITestObject("a", "s", "D", "F"));
225    
226            list5.add(new UITestObject("a", "a", "a", "a"));
227            list5.get(0).getSubList().add(new UITestObject("A", "B", "C", "D"));
228            list5.get(0).getSubList().add(new UITestObject("1", "2", "3", "4"));
229            list5.add(new UITestObject("b", "b", "b", "b"));
230            list5.get(1).getSubList().add(new UITestObject("a", "b", "C", "D"));
231            list5.get(1).getSubList().add(new UITestObject("a", "s", "D", "F"));
232    
233            list6.add(new UITestObject("A", "B", "C", "D"));
234            list6.add(new UITestObject("1", "2", "3", "4"));
235            list6.add(new UITestObject("W", "X", "Y", "Z"));
236            list6.add(new UITestObject("a", "b", "c", "d"));
237            list6.add(new UITestObject("a", "s", "d", "f"));
238    
239            { // scope for name hiding purposes
240                Node<String, String> item1 = new Node<String, String>("Item 1", "Item 1");
241                item1.addChild(new Node<String, String>("SubItem A", "SubItem A"));
242                item1.addChild(new Node<String, String>("SubItem B", "SubItem B"));
243    
244                Node<String, String> item2 = new Node<String, String>("Item 2", "Item 2");
245                item2.addChild(new Node<String, String>("SubItem A", "SubItem A"));
246                Node<String, String> sub2B = new Node<String, String>("SubItem B", "SubItem B");
247                sub2B.addChild(new Node<String, String>("Item B-1", "Item B-1"));
248                sub2B.addChild(new Node<String, String>("Item B-2", "Item B-2"));
249                sub2B.addChild(new Node<String, String>("Item B-3", "Item B-3"));
250                item2.addChild(sub2B);
251                item2.addChild(new Node<String, String>("SubItem C", "SubItem C"));
252    
253                Node<String, String> item3 = new Node<String, String>("Item 3", "Item 3");
254                item3.addChild(new Node<String, String>("SubItem A", "SubItem A"));
255                item3.addChild(new Node<String, String>("SubItem B", "SubItem B"));
256                item3.addChild(new Node<String, String>("SubItem C", "SubItem C"));
257                item3.addChild(new Node<String, String>("SubItem D", "SubItem D"));
258    
259                Node<String, String> root = new Node<String, String>("Root", "Root");
260                root.addChild(item1);
261                root.addChild(item2);
262                root.addChild(item3);
263    
264                tree1.setRootElement(root);
265            }
266            
267            { // scope for name hiding purposes
268                Node<UITestObject, String> item1 = new Node<UITestObject, String>(new UITestObject("1-A", "1-B", "1-C", "1-D"), "Item 1");
269                item1.addChild(new Node<UITestObject, String>(new UITestObject("1SA-A", "1SA-B", "1SA-C", "1SA-D"), "SubItem A"));
270                item1.addChild(new Node<UITestObject, String>(new UITestObject("1SB-A", "1SB-B", "1SB-C", "1SB-D"), "SubItem B"));
271    
272                Node<UITestObject, String> item2 = new Node<UITestObject, String>(new UITestObject("2-A", "2-B", "2-C", "2-D"), "Item 2");
273                item2.addChild(new Node<UITestObject, String>(new UITestObject("SA-a", "SA-b", "SA-c", "SA-d"), "SubItem A"));
274                Node<UITestObject, String> sub2B = new Node<UITestObject, String>(new UITestObject("SB-a", "SB-b", "SB-c", "SB-d"), "SubItem B");
275                sub2B.addChild(new Node<UITestObject, String>(new UITestObject("AA", "BB", "CC", "DD"), "Item B-1"));
276                sub2B.addChild(new Node<UITestObject, String>(new UITestObject("Aa", "Bb", "Cc", "Dd"), "Item B-2"));
277                sub2B.addChild(new Node<UITestObject, String>(new UITestObject("aA", "bB", "cC", "dD"), "Item B-3"));
278                item2.addChild(sub2B);
279                item2.addChild(new Node<UITestObject, String>(new UITestObject("SC-a", "SC-b", "SC-c", "SC-d"), "SubItem C"));
280    
281                Node<UITestObject, String> item3 = new Node<UITestObject, String>(new UITestObject("3-A", "3-B", "3-C", "3-D"), "Item 3");
282                item3.addChild(new Node<UITestObject, String>(new UITestObject("A", "B", "C", "D"), "SubItem A"));
283                item3.addChild(new Node<UITestObject, String>(new UITestObject("1", "2", "3", "4"), "SubItem B"));
284                item3.addChild(new Node<UITestObject, String>(new UITestObject("w", "x", "y", "z"), "SubItem C"));
285                item3.addChild(new Node<UITestObject, String>(new UITestObject("!", "@", "#", "$"), "SubItem D"));
286    
287                Node<UITestObject, String> root = new Node<UITestObject, String>(new UITestObject("foo", "bar", "baz", "roo"), "Root");
288                root.addChild(item1);
289                root.addChild(item2);
290                root.addChild(item3);
291    
292                tree2.setRootElement(root);
293            }
294            
295            remoteFieldValuesMap = new HashMap<String, Object>();
296            remoteFieldValuesMap.put("remoteField1", "Apple");
297            remoteFieldValuesMap.put("remoteField2", "Banana");
298            remoteFieldValuesMap.put("remoteField3", true);
299            remoteFieldValuesMap.put("remoteField4", "Fruit");
300    
301            remoteFieldValuesMap2 = new HashMap<String, Object>();
302            remoteFieldValuesMap2.put("remoteField1", "Apple");
303            remoteFieldValuesMap2.put("remoteField2", "Banana");
304            remoteFieldValuesMap2.put("remoteField3", true);
305            remoteFieldValuesMap2.put("remoteField4", "Fruit");
306    
307            field88 = "Fruits";
308            field91 = "Read only value";
309            field92 = "Value 92";
310    
311            field131 = new Integer(0);
312        }
313    
314        @Override
315        public void postBind(HttpServletRequest request) {
316            super.postBind(request);
317        }
318    
319        /**
320         * @return the field1
321         */
322        public String getField1() {
323            return this.field1;
324        }
325    
326        /**
327         * @param field1 the field1 to set
328         */
329        public void setField1(String field1) {
330            this.field1 = field1;
331        }
332    
333        /**
334         * @return the field2
335         */
336        public String getField2() {
337            return this.field2;
338        }
339    
340        /**
341         * @param field2 the field2 to set
342         */
343        public void setField2(String field2) {
344            this.field2 = field2;
345        }
346    
347        /**
348         * @return the field3
349         */
350        public String getField3() {
351            return this.field3;
352        }
353    
354        /**
355         * @param field3 the field3 to set
356         */
357        public void setField3(String field3) {
358            this.field3 = field3;
359        }
360    
361        /**
362         * @return the field4
363         */
364        public String getField4() {
365            return this.field4;
366        }
367    
368        /**
369         * @param field4 the field4 to set
370         */
371        public void setField4(String field4) {
372            this.field4 = field4;
373        }
374    
375        /**
376         * @return the field5
377         */
378        public String getField5() {
379            return this.field5;
380        }
381    
382        /**
383         * @param field5 the field5 to set
384         */
385        public void setField5(String field5) {
386            this.field5 = field5;
387        }
388    
389        /**
390         * @return the field6
391         */
392        public String getField6() {
393            return this.field6;
394        }
395    
396        /**
397         * @param field6 the field6 to set
398         */
399        public void setField6(String field6) {
400            this.field6 = field6;
401        }
402    
403        /**
404         * @return the field7
405         */
406        public String getField7() {
407            return this.field7;
408        }
409    
410        /**
411         * @param field7 the field7 to set
412         */
413        public void setField7(String field7) {
414            this.field7 = field7;
415        }
416    
417        /**
418         * @return the field8
419         */
420        public String getField8() {
421            return this.field8;
422        }
423    
424        /**
425         * @param field8 the field8 to set
426         */
427        public void setField8(String field8) {
428            this.field8 = field8;
429        }
430    
431        /**
432         * @return the field9
433         */
434        public String getField9() {
435            return this.field9;
436        }
437    
438        /**
439         * @param field9 the field9 to set
440         */
441        public void setField9(String field9) {
442            this.field9 = field9;
443        }
444    
445        /**
446         * @return the field10
447         */
448        public String getField10() {
449            return this.field10;
450        }
451    
452        /**
453         * @param field10 the field10 to set
454         */
455        public void setField10(String field10) {
456            this.field10 = field10;
457        }
458    
459        /**
460         * @return the field11
461         */
462        public String getField11() {
463            return this.field11;
464        }
465    
466        /**
467         * @param field11 the field11 to set
468         */
469        public void setField11(String field11) {
470            this.field11 = field11;
471        }
472    
473        /**
474         * @return the field12
475         */
476        public String getField12() {
477            return this.field12;
478        }
479    
480        /**
481         * @param field12 the field12 to set
482         */
483        public void setField12(String field12) {
484            this.field12 = field12;
485        }
486    
487        /**
488         * @return the field13
489         */
490        public String getField13() {
491            return this.field13;
492        }
493    
494        /**
495         * @param field13 the field13 to set
496         */
497        public void setField13(String field13) {
498            this.field13 = field13;
499        }
500    
501        /**
502         * @return the field14
503         */
504        public String getField14() {
505            return this.field14;
506        }
507    
508        /**
509         * @param field14 the field14 to set
510         */
511        public void setField14(String field14) {
512            this.field14 = field14;
513        }
514    
515        /**
516         * @return the field15
517         */
518        public String getField15() {
519            return this.field15;
520        }
521    
522        /**
523         * @param field15 the field15 to set
524         */
525        public void setField15(String field15) {
526            this.field15 = field15;
527        }
528    
529        /**
530         * @return the field16
531         */
532        public String getField16() {
533            return this.field16;
534        }
535    
536        /**
537         * @param field16 the field16 to set
538         */
539        public void setField16(String field16) {
540            this.field16 = field16;
541        }
542    
543        /**
544         * @return the field17
545         */
546        public String getField17() {
547            return this.field17;
548        }
549    
550        /**
551         * @param field17 the field17 to set
552         */
553        public void setField17(String field17) {
554            this.field17 = field17;
555        }
556    
557        /**
558         * @return the field18
559         */
560        public String getField18() {
561            return this.field18;
562        }
563    
564        /**
565         * @param field18 the field18 to set
566         */
567        public void setField18(String field18) {
568            this.field18 = field18;
569        }
570    
571        /**
572         * @return the field19
573         */
574        public String getField19() {
575            return this.field19;
576        }
577    
578        /**
579         * @param field19 the field19 to set
580         */
581        public void setField19(String field19) {
582            this.field19 = field19;
583        }
584    
585        /**
586         * @return the field20
587         */
588        public String getField20() {
589            return this.field20;
590        }
591    
592        /**
593         * @param field20 the field20 to set
594         */
595        public void setField20(String field20) {
596            this.field20 = field20;
597        }
598    
599        /**
600         * @return the field21
601         */
602        public String getField21() {
603            return this.field21;
604        }
605    
606        /**
607         * @param field21 the field21 to set
608         */
609        public void setField21(String field21) {
610            this.field21 = field21;
611        }
612    
613        /**
614         * @return the field22
615         */
616        public String getField22() {
617            return this.field22;
618        }
619    
620        /**
621         * @param field22 the field22 to set
622         */
623        public void setField22(String field22) {
624            this.field22 = field22;
625        }
626    
627        /**
628         * @return the field23
629         */
630        public String getField23() {
631            return this.field23;
632        }
633    
634        /**
635         * @param field23 the field23 to set
636         */
637        public void setField23(String field23) {
638            this.field23 = field23;
639        }
640    
641        /**
642         * @return the field24
643         */
644        public String getField24() {
645            return this.field24;
646        }
647    
648        /**
649         * @param field24 the field24 to set
650         */
651        public void setField24(String field24) {
652            this.field24 = field24;
653        }
654    
655        /**
656         * @return the field25
657         */
658        public String getField25() {
659            return this.field25;
660        }
661    
662        /**
663         * @param field25 the field25 to set
664         */
665        public void setField25(String field25) {
666            this.field25 = field25;
667        }
668    
669        /**
670         * @return the field26
671         */
672        public String getField26() {
673            return this.field26;
674        }
675    
676        /**
677         * @param field26 the field26 to set
678         */
679        public void setField26(String field26) {
680            this.field26 = field26;
681        }
682    
683        /**
684         * @return the field27
685         */
686        public String getField27() {
687            return this.field27;
688        }
689    
690        /**
691         * @param field27 the field27 to set
692         */
693        public void setField27(String field27) {
694            this.field27 = field27;
695        }
696    
697        /**
698         * @return the field28
699         */
700        public String getField28() {
701            return this.field28;
702        }
703    
704        /**
705         * @param field28 the field28 to set
706         */
707        public void setField28(String field28) {
708            this.field28 = field28;
709        }
710    
711        /**
712         * @return the field29
713         */
714        public String getField29() {
715            return this.field29;
716        }
717    
718        /**
719         * @param field29 the field29 to set
720         */
721        public void setField29(String field29) {
722            this.field29 = field29;
723        }
724    
725        /**
726         * @return the field30
727         */
728        public String getField30() {
729            return this.field30;
730        }
731    
732        /**
733         * @param field30 the field30 to set
734         */
735        public void setField30(String field30) {
736            this.field30 = field30;
737        }
738    
739        /**
740         * @return the field31
741         */
742        public String getField31() {
743            return this.field31;
744        }
745    
746        /**
747         * @param field31 the field31 to set
748         */
749        public void setField31(String field31) {
750            this.field31 = field31;
751        }
752    
753        /**
754         * @return the field32
755         */
756        public String getField32() {
757            return this.field32;
758        }
759    
760        /**
761         * @param field32 the field32 to set
762         */
763        public void setField32(String field32) {
764            this.field32 = field32;
765        }
766    
767        /**
768         * @return the field33
769         */
770        public String getField33() {
771            return this.field33;
772        }
773    
774        /**
775         * @param field33 the field33 to set
776         */
777        public void setField33(String field33) {
778            this.field33 = field33;
779        }
780    
781        /**
782         * @return the field34
783         */
784        public String getField34() {
785            return this.field34;
786        }
787    
788        /**
789         * @return the field35
790         */
791        public String getField35() {
792            return this.field35;
793        }
794    
795        /**
796         * @param field35 the field35 to set
797         */
798        public void setField35(String field35) {
799            this.field35 = field35;
800        }
801    
802        /**
803         * @return the field36
804         */
805        public String getField36() {
806            return this.field36;
807        }
808    
809        /**
810         * @param field36 the field36 to set
811         */
812        public void setField36(String field36) {
813            this.field36 = field36;
814        }
815    
816        /**
817         * @return the field37
818         */
819        public String getField37() {
820            return this.field37;
821        }
822    
823        /**
824         * @param field37 the field37 to set
825         */
826        public void setField37(String field37) {
827            this.field37 = field37;
828        }
829    
830        /**
831         * @return the field38
832         */
833        public String getField38() {
834            return this.field38;
835        }
836    
837        /**
838         * @param field38 the field38 to set
839         */
840        public void setField38(String field38) {
841            this.field38 = field38;
842        }
843    
844        /**
845         * @return the field39
846         */
847        public String getField39() {
848            return this.field39;
849        }
850    
851        /**
852         * @param field39 the field39 to set
853         */
854        public void setField39(String field39) {
855            this.field39 = field39;
856        }
857    
858        /**
859         * @return the field40
860         */
861        public String getField40() {
862            return this.field40;
863        }
864    
865        /**
866         * @param field40 the field40 to set
867         */
868        public void setField40(String field40) {
869            this.field40 = field40;
870        }
871    
872        /**
873         * @return the field41
874         */
875        public String getField41() {
876            return this.field41;
877        }
878    
879        /**
880         * @param field41 the field41 to set
881         */
882        public void setField41(String field41) {
883            this.field41 = field41;
884        }
885    
886        /**
887         * @return the field42
888         */
889        public String getField42() {
890            return this.field42;
891        }
892    
893        /**
894         * @param field42 the field42 to set
895         */
896        public void setField42(String field42) {
897            this.field42 = field42;
898        }
899    
900        /**
901         * @return the field43
902         */
903        public String getField43() {
904            return this.field43;
905        }
906    
907        /**
908         * @param field43 the field43 to set
909         */
910        public void setField43(String field43) {
911            this.field43 = field43;
912        }
913    
914        /**
915         * @return the field44
916         */
917        public String getField44() {
918            return this.field44;
919        }
920    
921        /**
922         * @param field44 the field44 to set
923         */
924        public void setField44(String field44) {
925            this.field44 = field44;
926        }
927    
928        /**
929         * @return the field45
930         */
931        public String getField45() {
932            return this.field45;
933        }
934    
935        /**
936         * @param field45 the field45 to set
937         */
938        public void setField45(String field45) {
939            this.field45 = field45;
940        }
941    
942        /**
943         * @return the field46
944         */
945        public String getField46() {
946            return this.field46;
947        }
948    
949        /**
950         * @param field46 the field46 to set
951         */
952        public void setField46(String field46) {
953            this.field46 = field46;
954        }
955    
956        /**
957         * @return the field47
958         */
959        public String getField47() {
960            return this.field47;
961        }
962    
963        /**
964         * @param field47 the field47 to set
965         */
966        public void setField47(String field47) {
967            this.field47 = field47;
968        }
969    
970        /**
971         * @return the field48
972         */
973        public String getField48() {
974            return this.field48;
975        }
976    
977        /**
978         * @param field48 the field48 to set
979         */
980        public void setField48(String field48) {
981            this.field48 = field48;
982        }
983    
984        /**
985         * @return the field49
986         */
987        public String getField49() {
988            return this.field49;
989        }
990    
991        /**
992         * @param field49 the field49 to set
993         */
994        public void setField49(String field49) {
995            this.field49 = field49;
996        }
997    
998        /**
999         * @return the field50
1000         */
1001        public String getField50() {
1002            return this.field50;
1003        }
1004    
1005        /**
1006         * @param field50 the field50 to set
1007         */
1008        public void setField50(String field50) {
1009            this.field50 = field50;
1010        }
1011    
1012        /**
1013         * @return the field51
1014         */
1015        public String getField51() {
1016            return this.field51;
1017        }
1018    
1019        /**
1020         * @param field51 the field51 to set
1021         */
1022        public void setField51(String field51) {
1023            this.field51 = field51;
1024        }
1025    
1026        /**
1027         * @return the field52
1028         */
1029        public String getField52() {
1030            return this.field52;
1031        }
1032    
1033        /**
1034         * @param field52 the field52 to set
1035         */
1036        public void setField52(String field52) {
1037            this.field52 = field52;
1038        }
1039    
1040        /**
1041         * @return the field53
1042         */
1043        public String getField53() {
1044            return this.field53;
1045        }
1046    
1047        /**
1048         * @param field53 the field53 to set
1049         */
1050        public void setField53(String field53) {
1051            this.field53 = field53;
1052        }
1053    
1054        /**
1055         * @return the field54
1056         */
1057        public String getField54() {
1058            return this.field54;
1059        }
1060    
1061        /**
1062         * @param field54 the field54 to set
1063         */
1064        public void setField54(String field54) {
1065            this.field54 = field54;
1066        }
1067    
1068        /**
1069         * @return the field55
1070         */
1071        public String getField55() {
1072            return this.field55;
1073        }
1074    
1075        /**
1076         * @param field55 the field55 to set
1077         */
1078        public void setField55(String field55) {
1079            this.field55 = field55;
1080        }
1081    
1082        /**
1083         * @return the field56
1084         */
1085        public String getField56() {
1086            return this.field56;
1087        }
1088    
1089        /**
1090         * @param field56 the field56 to set
1091         */
1092        public void setField56(String field56) {
1093            this.field56 = field56;
1094        }
1095    
1096        /**
1097         * @return the field57
1098         */
1099        public String getField57() {
1100            return this.field57;
1101        }
1102    
1103        /**
1104         * @param field57 the field57 to set
1105         */
1106        public void setField57(String field57) {
1107            this.field57 = field57;
1108        }
1109    
1110        /**
1111         * @return the field58
1112         */
1113        public String getField58() {
1114            return this.field58;
1115        }
1116    
1117        /**
1118         * @param field58 the field58 to set
1119         */
1120        public void setField58(String field58) {
1121            this.field58 = field58;
1122        }
1123    
1124        /**
1125         * @return the field59
1126         */
1127        public String getField59() {
1128            return this.field59;
1129        }
1130    
1131        /**
1132         * @param field59 the field59 to set
1133         */
1134        public void setField59(String field59) {
1135            this.field59 = field59;
1136        }
1137    
1138        /**
1139         * @return the field60
1140         */
1141        public String getField60() {
1142            return this.field60;
1143        }
1144    
1145        /**
1146         * @param field60 the field60 to set
1147         */
1148        public void setField60(String field60) {
1149            this.field60 = field60;
1150        }
1151    
1152        /**
1153         * @return the field61
1154         */
1155        public String getField61() {
1156            return this.field61;
1157        }
1158    
1159        /**
1160         * @param field61 the field61 to set
1161         */
1162        public void setField61(String field61) {
1163            this.field61 = field61;
1164        }
1165    
1166        /**
1167         * @return the field62
1168         */
1169        public String getField62() {
1170            return this.field62;
1171        }
1172    
1173        /**
1174         * @param field62 the field62 to set
1175         */
1176        public void setField62(String field62) {
1177            this.field62 = field62;
1178        }
1179    
1180        /**
1181         * @return the field63
1182         */
1183        public String getField63() {
1184            return this.field63;
1185        }
1186    
1187        /**
1188         * @param field63 the field63 to set
1189         */
1190        public void setField63(String field63) {
1191            this.field63 = field63;
1192        }
1193    
1194        /**
1195         * @return the field64
1196         */
1197        public String getField64() {
1198            return this.field64;
1199        }
1200    
1201        /**
1202         * @param field64 the field64 to set
1203         */
1204        public void setField64(String field64) {
1205            this.field64 = field64;
1206        }
1207    
1208        /**
1209         * @return the field65
1210         */
1211        public String getField65() {
1212            return this.field65;
1213        }
1214    
1215        /**
1216         * @param field65 the field65 to set
1217         */
1218        public void setField65(String field65) {
1219            this.field65 = field65;
1220        }
1221    
1222        /**
1223         * @param field34 the field34 to set
1224         */
1225        public void setField34(String field34) {
1226            this.field34 = field34;
1227        }
1228    
1229        /**
1230         * @return the bField1
1231         */
1232        public boolean isbField1() {
1233            return this.bField1;
1234        }
1235    
1236        /**
1237         * @param bField1 the bField1 to set
1238         */
1239        public void setbField1(boolean bField1) {
1240            this.bField1 = bField1;
1241        }
1242    
1243        /**
1244         * @return the bField2
1245         */
1246        public boolean isbField2() {
1247            return this.bField2;
1248        }
1249    
1250        /**
1251         * @param bField2 the bField2 to set
1252         */
1253        public void setbField2(boolean bField2) {
1254            this.bField2 = bField2;
1255        }
1256    
1257        /**
1258         * @return the bField3
1259         */
1260        public boolean isbField3() {
1261            return this.bField3;
1262        }
1263    
1264        /**
1265         * @param bField3 the bField3 to set
1266         */
1267        public void setbField3(boolean bField3) {
1268            this.bField3 = bField3;
1269        }
1270    
1271        /**
1272         * @return the list1
1273         */
1274        public List<UITestObject> getList1() {
1275            return this.list1;
1276        }
1277    
1278        /**
1279         * @param list1 the list1 to set
1280         */
1281        public void setList1(List<UITestObject> list1) {
1282            this.list1 = list1;
1283        }
1284    
1285        /**
1286         * @return the list2
1287         */
1288        public List<UITestObject> getList2() {
1289            return this.list2;
1290        }
1291    
1292        /**
1293         * @param list2 the list2 to set
1294         */
1295        public void setList2(List<UITestObject> list2) {
1296            this.list2 = list2;
1297        }
1298    
1299        /**
1300         * @return the list3
1301         */
1302        public List<UITestObject> getList3() {
1303            return this.list3;
1304        }
1305    
1306        /**
1307         * @param list3 the list3 to set
1308         */
1309        public void setList3(List<UITestObject> list3) {
1310            this.list3 = list3;
1311        }
1312    
1313        /**
1314         * @return the list4
1315         */
1316        public List<UITestObject> getList4() {
1317            return this.list4;
1318        }
1319    
1320        /**
1321         * @param list4 the list4 to set
1322         */
1323        public void setList4(List<UITestObject> list4) {
1324            this.list4 = list4;
1325        }
1326    
1327        /**
1328         * @return the gField1
1329         */
1330        public String getgField1() {
1331            return this.gField1;
1332        }
1333    
1334        /**
1335         * @param gField1 the gField1 to set
1336         */
1337        public void setgField1(String gField1) {
1338            this.gField1 = gField1;
1339        }
1340    
1341        /**
1342         * @return the gField2
1343         */
1344        public String getgField2() {
1345            return this.gField2;
1346        }
1347    
1348        /**
1349         * @param gField2 the gField2 to set
1350         */
1351        public void setgField2(String gField2) {
1352            this.gField2 = gField2;
1353        }
1354    
1355        /**
1356         * @return the gField3
1357         */
1358        public String getgField3() {
1359            return this.gField3;
1360        }
1361    
1362        /**
1363         * @param gField3 the gField3 to set
1364         */
1365        public void setgField3(String gField3) {
1366            this.gField3 = gField3;
1367        }
1368    
1369        /**
1370         * @return the field66
1371         */
1372        public String getField66() {
1373            return this.field66;
1374        }
1375    
1376        /**
1377         * @param field66 the field66 to set
1378         */
1379        public void setField66(String field66) {
1380            this.field66 = field66;
1381        }
1382    
1383        /**
1384         * @return the field67
1385         */
1386        public String getField67() {
1387            return this.field67;
1388        }
1389    
1390        /**
1391         * @param field67 the field67 to set
1392         */
1393        public void setField67(String field67) {
1394            this.field67 = field67;
1395        }
1396    
1397        /**
1398         * @return the field68
1399         */
1400        public String getField68() {
1401            return this.field68;
1402        }
1403    
1404        /**
1405         * @param field68 the field68 to set
1406         */
1407        public void setField68(String field68) {
1408            this.field68 = field68;
1409        }
1410    
1411        /**
1412         * @return the field69
1413         */
1414        public String getField69() {
1415            return this.field69;
1416        }
1417    
1418        /**
1419         * @param field69 the field69 to set
1420         */
1421        public void setField69(String field69) {
1422            this.field69 = field69;
1423        }
1424    
1425        /**
1426         * @return the field70
1427         */
1428        public String getField70() {
1429            return this.field70;
1430        }
1431    
1432        /**
1433         * @param field70 the field70 to set
1434         */
1435        public void setField70(String field70) {
1436            this.field70 = field70;
1437        }
1438    
1439        /**
1440         * @return the field71
1441         */
1442        public String getField71() {
1443            return this.field71;
1444        }
1445    
1446        /**
1447         * @param field71 the field71 to set
1448         */
1449        public void setField71(String field71) {
1450            this.field71 = field71;
1451        }
1452    
1453        /**
1454         * @return the field72
1455         */
1456        public String getField72() {
1457            return this.field72;
1458        }
1459    
1460        /**
1461         * @param field72 the field72 to set
1462         */
1463        public void setField72(String field72) {
1464            this.field72 = field72;
1465        }
1466    
1467        /**
1468         * @return the field73
1469         */
1470        public String getField73() {
1471            return this.field73;
1472        }
1473    
1474        /**
1475         * @param field73 the field73 to set
1476         */
1477        public void setField73(String field73) {
1478            this.field73 = field73;
1479        }
1480    
1481        /**
1482         * @return the field74
1483         */
1484        public String getField74() {
1485            return this.field74;
1486        }
1487    
1488        /**
1489         * @param field74 the field74 to set
1490         */
1491        public void setField74(String field74) {
1492            this.field74 = field74;
1493        }
1494    
1495        /**
1496         * @return the field75
1497         */
1498        public String getField75() {
1499            return this.field75;
1500        }
1501    
1502        /**
1503         * @param field75 the field75 to set
1504         */
1505        public void setField75(String field75) {
1506            this.field75 = field75;
1507        }
1508    
1509        /**
1510         * @return the field76
1511         */
1512        public String getField76() {
1513            return this.field76;
1514        }
1515    
1516        /**
1517         * @param field76 the field76 to set
1518         */
1519        public void setField76(String field76) {
1520            this.field76 = field76;
1521        }
1522    
1523        /**
1524         * @return the field77
1525         */
1526        public String getField77() {
1527            return this.field77;
1528        }
1529    
1530        /**
1531         * @param field77 the field77 to set
1532         */
1533        public void setField77(String field77) {
1534            this.field77 = field77;
1535        }
1536    
1537        /**
1538         * @return the field78
1539         */
1540        public String getField78() {
1541            return this.field78;
1542        }
1543    
1544        /**
1545         * @param field78 the field78 to set
1546         */
1547        public void setField78(String field78) {
1548            this.field78 = field78;
1549        }
1550    
1551        /**
1552         * @return the field79
1553         */
1554        public String getField79() {
1555            return this.field79;
1556        }
1557    
1558        /**
1559         * @param field79 the field79 to set
1560         */
1561        public void setField79(String field79) {
1562            this.field79 = field79;
1563        }
1564    
1565        /**
1566         * @return the field80
1567         */
1568        public String getField80() {
1569            return this.field80;
1570        }
1571    
1572        /**
1573         * @param field80 the field80 to set
1574         */
1575        public void setField80(String field80) {
1576            this.field80 = field80;
1577        }
1578    
1579        /**
1580         * @return the field81
1581         */
1582        public String getField81() {
1583            return this.field81;
1584        }
1585    
1586        /**
1587         * @param field81 the field81 to set
1588         */
1589        public void setField81(String field81) {
1590            this.field81 = field81;
1591        }
1592    
1593        /**
1594         * @return the mField1
1595         */
1596        public String getmField1() {
1597            return this.mField1;
1598        }
1599    
1600        /**
1601         * @param mField1 the mField1 to set
1602         */
1603        public void setmField1(String mField1) {
1604            this.mField1 = mField1;
1605        }
1606    
1607        /**
1608         * @return the mField2
1609         */
1610        public String getmField2() {
1611            return this.mField2;
1612        }
1613    
1614        /**
1615         * @param mField2 the mField2 to set
1616         */
1617        public void setmField2(String mField2) {
1618            this.mField2 = mField2;
1619        }
1620    
1621        /**
1622         * @return the mField3
1623         */
1624        public String getmField3() {
1625            return this.mField3;
1626        }
1627    
1628        /**
1629         * @param mField3 the mField3 to set
1630         */
1631        public void setmField3(String mField3) {
1632            this.mField3 = mField3;
1633        }
1634    
1635        /**
1636         * @return the list5
1637         */
1638        public List<UITestObject> getList5() {
1639            return this.list5;
1640        }
1641    
1642        /**
1643         * @param list5 the list5 to set
1644         */
1645        public void setList5(List<UITestObject> list5) {
1646            this.list5 = list5;
1647        }
1648    
1649        /**
1650         * @return the list6
1651         */
1652        public List<UITestObject> getList6() {
1653            return this.list6;
1654        }
1655    
1656        /**
1657         * @param list6 the list6 to set
1658         */
1659        public void setList6(List<UITestObject> list6) {
1660            this.list6 = list6;
1661        }
1662    
1663        /**
1664         * @return the tree1
1665         */
1666        public Tree<String, String> getTree1() {
1667            return this.tree1;
1668        }
1669    
1670        /**
1671         * @param tree1 the tree1 to set
1672         */
1673        public void setTree1(Tree<String, String> tree1) {
1674            this.tree1 = tree1;
1675        }
1676    
1677        public Tree<UITestObject, String> getTree2() {
1678            return tree2;
1679        }
1680    
1681        public void setTree2(Tree<UITestObject, String> tree2) {
1682            this.tree2 = tree2;
1683        }
1684    
1685        public String getField82() {
1686            return field82;
1687        }
1688    
1689        public void setField82(String field82) {
1690            this.field82 = field82;
1691        }
1692    
1693        public String getField83() {
1694            return field83;
1695        }
1696    
1697        public void setField83(String field83) {
1698            this.field83 = field83;
1699        }
1700    
1701        public String getField84() {
1702            return field84;
1703        }
1704    
1705        public void setField84(String field84) {
1706            this.field84 = field84;
1707        }
1708    
1709        public String getField85() {
1710            return field85;
1711        }
1712    
1713        public void setField85(String field85) {
1714            this.field85 = field85;
1715        }
1716    
1717        public String getField86() {
1718            return field86;
1719        }
1720    
1721        public void setField86(String field86) {
1722            this.field86 = field86;
1723        }
1724    
1725        public String getField87() {
1726            return field87;
1727        }
1728    
1729        public void setField87(String field87) {
1730            this.field87 = field87;
1731        }
1732    
1733        public String getField88() {
1734            return field88;
1735        }
1736    
1737        public void setField88(String field88) {
1738            this.field88 = field88;
1739        }
1740    
1741        public String getField89() {
1742            return field89;
1743        }
1744    
1745        public void setField89(String field89) {
1746            this.field89 = field89;
1747        }
1748    
1749        public Map<String, Object> getRemoteFieldValuesMap() {
1750            return remoteFieldValuesMap;
1751        }
1752    
1753        public void setRemoteFieldValuesMap(Map<String, Object> remoteFieldValuesMap) {
1754            this.remoteFieldValuesMap = remoteFieldValuesMap;
1755        }
1756    
1757        public Map<String, Object> getRemoteFieldValuesMap2() {
1758            return remoteFieldValuesMap2;
1759        }
1760    
1761        public void setRemoteFieldValuesMap2(Map<String, Object> remoteFieldValuesMap2) {
1762            this.remoteFieldValuesMap2 = remoteFieldValuesMap2;
1763        }
1764    
1765        public String getField90() {
1766            return field90;
1767        }
1768    
1769        public void setField90(String field90) {
1770            this.field90 = field90;
1771        }
1772    
1773        public String getField91() {
1774            return field91;
1775        }
1776    
1777        public void setField91(String field91) {
1778            this.field91 = field91;
1779        }
1780    
1781        public String getField92() {
1782            return field92;
1783        }
1784    
1785        public void setField92(String field92) {
1786            this.field92 = field92;
1787        }
1788    
1789        public String getField100() {
1790            return field100;
1791        }
1792    
1793        public void setField100(String field100) {
1794            this.field100 = field100;
1795        }
1796    
1797        public String getField101() {
1798            return field101;
1799        }
1800    
1801        public void setField101(String field101) {
1802            this.field101 = field101;
1803        }
1804    
1805        public String getField102() {
1806            return field102;
1807        }
1808    
1809        public void setField102(String field102) {
1810            this.field102 = field102;
1811        }
1812    
1813        public String getField103() {
1814            return field103;
1815        }
1816    
1817        public void setField103(String field103) {
1818            this.field103 = field103;
1819        }
1820    
1821        public String getField104() {
1822            return field104;
1823        }
1824    
1825        public void setField104(String field104) {
1826            this.field104 = field104;
1827        }
1828    
1829        public String getField105() {
1830            return field105;
1831        }
1832    
1833        public void setField105(String field105) {
1834            this.field105 = field105;
1835        }
1836    
1837        public String getField106() {
1838            return field106;
1839        }
1840    
1841        public void setField106(String field106) {
1842            this.field106 = field106;
1843        }
1844    
1845        public String getField107() {
1846            return field107;
1847        }
1848    
1849        public void setField107(String field107) {
1850            this.field107 = field107;
1851        }
1852    
1853        public String getField108() {
1854            return field108;
1855        }
1856    
1857        public void setField108(String field108) {
1858            this.field108 = field108;
1859        }
1860    
1861        public String getField110() {
1862            return field110;
1863        }
1864    
1865        public void setField110(String field110) {
1866            this.field110 = field110;
1867        }
1868    
1869        public String getField109() {
1870            return field109;
1871        }
1872    
1873        public void setField109(String field109) {
1874            this.field109 = field109;
1875        }
1876    
1877        public String getField111() {
1878            return field111;
1879        }
1880    
1881        public void setField111(String field111) {
1882            this.field111 = field111;
1883        }
1884    
1885        public String getField112() {
1886            return field112;
1887        }
1888    
1889        public void setField112(String field112) {
1890            this.field112 = field112;
1891        }
1892    
1893        public String getField113() {
1894            return field113;
1895        }
1896    
1897        public void setField113(String field113) {
1898            this.field113 = field113;
1899        }
1900    
1901        public List<String> getField114() {
1902            return field114;
1903        }
1904    
1905        public void setField114(List<String> field114) {
1906            this.field114 = field114;
1907        }
1908    
1909        public List<String> getField115() {
1910            return field115;
1911        }
1912    
1913        public void setField115(List<String> field115) {
1914            this.field115 = field115;
1915        }
1916    
1917        public List<String> getField116() {
1918            return field116;
1919        }
1920    
1921        public void setField116(List<String> field116) {
1922            this.field116 = field116;
1923        }
1924    
1925        public String getField117() {
1926            return field117;
1927        }
1928    
1929        public void setField117(String field117) {
1930            this.field117 = field117;
1931        }
1932    
1933        public String getField118() {
1934            return field118;
1935        }
1936    
1937        public void setField118(String field118) {
1938            this.field118 = field118;
1939        }
1940    
1941        public String getTestPersonId() {
1942            return testPersonId;
1943        }
1944    
1945        public void setTestPersonId(String testPersonId) {
1946            this.testPersonId = testPersonId;
1947        }
1948    
1949        public Person getTestPerson() {
1950            if ((testPerson == null) || !StringUtils.equals(testPerson.getPrincipalId(), getTestPersonId())) {
1951                testPerson = KimApiServiceLocator.getPersonService().getPerson(getTestPersonId());
1952    
1953                if (testPerson == null) {
1954                    try {
1955                        testPerson = KimApiServiceLocator.getPersonService().getPersonImplementationClass().newInstance();
1956                    } catch (Exception e) {
1957                        throw new RuntimeException(e);
1958                    }
1959                }
1960            }
1961    
1962            return testPerson;
1963        }
1964    
1965        public void setTestPerson(Person testPerson) {
1966            this.testPerson = testPerson;
1967        }
1968    
1969        public String getField119() {
1970            return field119;
1971        }
1972    
1973        public void setField119(String field119) {
1974            this.field119 = field119;
1975        }
1976    
1977        public List<String> getField120() {
1978            return field120;
1979        }
1980    
1981        public void setField120(List<String> field120) {
1982            this.field120 = field120;
1983        }
1984    
1985        public String getField121() {
1986            return field121;
1987        }
1988    
1989        public void setField121(String field121) {
1990            this.field121 = field121;
1991        }
1992    
1993        public String getField122() {
1994            return field122;
1995        }
1996    
1997        public void setField122(String field122) {
1998            this.field122 = field122;
1999        }
2000    
2001        public String getField123() {
2002            return field123;
2003        }
2004    
2005        public void setField123(String field123) {
2006            this.field123 = field123;
2007        }
2008    
2009        public String getField124() {
2010            return field124;
2011        }
2012    
2013        public void setField124(String field124) {
2014            this.field124 = field124;
2015        }
2016    
2017        public String getField125() {
2018            return field125;
2019        }
2020    
2021        public void setField125(String field125) {
2022            this.field125 = field125;
2023        }
2024    
2025        public String getField126() {
2026            return field126;
2027        }
2028    
2029        public void setField126(String field126) {
2030            this.field126 = field126;
2031        }
2032    
2033        public String getField127() {
2034            return field127;
2035        }
2036    
2037        public void setField127(String field127) {
2038            this.field127 = field127;
2039        }
2040    
2041        public String getField128() {
2042            return field128;
2043        }
2044    
2045        public void setField128(String field128) {
2046            this.field128 = field128;
2047        }
2048    
2049        public String getField129() {
2050            return field129;
2051        }
2052    
2053        public void setField129(String field129) {
2054            this.field129 = field129;
2055        }
2056    
2057        public String getField130() {
2058            return field130;
2059        }
2060    
2061        public void setField130(String field130) {
2062            this.field130 = field130;
2063        }
2064    
2065        public UITestObject getUiTestObject() {
2066            return uiTestObject;
2067        }
2068    
2069        public void setUiTestObject(UITestObject uiTestObject) {
2070            this.uiTestObject = uiTestObject;
2071        }
2072    
2073        public Integer getField131() {
2074            return field131;
2075        }
2076    
2077        public void setField131(Integer field131) {
2078            this.field131 = field131;
2079        }
2080    
2081        public MultipartFile getFileUpload() {
2082            return fileUpload;
2083        }
2084    
2085        public void setFileUpload(MultipartFile fileUpload) {
2086            this.fileUpload = fileUpload;
2087        }
2088    }