001    /**
002     * Copyright 2005-2011 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 java.io.Serializable;
019    import java.util.ArrayList;
020    import java.util.List;
021    
022    /**
023     * For test view purposes only
024     * 
025     * @author Kuali Rice Team (rice.collab@kuali.org)
026     */
027    public class UITestListObject implements Serializable {
028        private String field1;
029        private String field2;
030        private String field3;
031        private String field4;
032        private List<UITestListObject> subList = new ArrayList<UITestListObject>();
033        private static final long serialVersionUID = -7525378097732916411L;
034        
035        
036        /**
037         * This constructs a ...
038         * 
039         */
040        public UITestListObject() {
041        }
042    
043        /**
044         * This constructs a ...
045         * 
046         */
047        public UITestListObject(String field1, String field2, String field3, String field4) {
048            this.field1 = field1;
049            this.field2 = field2;
050            this.field3 = field3;
051            this.field4 = field4;
052        }
053    
054        /**
055         * @return the field1
056         */
057        public String getField1() {
058            return this.field1;
059        }
060    
061        /**
062         * @param field1 the field1 to set
063         */
064        public void setField1(String field1) {
065            this.field1 = field1;
066        }
067    
068        /**
069         * @return the field2
070         */
071        public String getField2() {
072            return this.field2;
073        }
074    
075        /**
076         * @param field2 the field2 to set
077         */
078        public void setField2(String field2) {
079            this.field2 = field2;
080        }
081    
082        /**
083         * @return the field3
084         */
085        public String getField3() {
086            return this.field3;
087        }
088    
089        /**
090         * @param field3 the field3 to set
091         */
092        public void setField3(String field3) {
093            this.field3 = field3;
094        }
095    
096        /**
097         * @return the field4
098         */
099        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    }