View Javadoc
1   /**
2    * Copyright 2005-2016 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 org.kuali.rice.krad.demo.uif.form;
17  
18  import org.apache.commons.lang.builder.ToStringBuilder;
19  import org.joda.time.DateTime;
20  
21  import java.io.Serializable;
22  import java.math.BigDecimal;
23  import java.util.ArrayList;
24  import java.util.Arrays;
25  import java.util.HashMap;
26  import java.util.List;
27  import java.util.Map;
28  
29  /**
30   * For server paging test view purposes only
31   *
32   * @author Kuali Rice Team (rice.collab@kuali.org)
33   */
34  public class ServerPagingTestObject implements Serializable {
35      private static final long serialVersionUID = -7525378097732916411L;
36  
37      private BigDecimal doubleField;
38      private Integer integerField = 0;
39      private String   stringField;
40  
41      public ServerPagingTestObject() { }
42  
43      /**
44       * @return the doubleField
45       */
46      public BigDecimal getDoubleField() {
47          return doubleField;
48      }
49  
50      /**
51       * set the doubleField.
52       *
53       * @param doubleField the doubleField to set
54       */
55      public void setDoubleField(BigDecimal doubleField) {
56          this.doubleField = doubleField;
57      }
58  
59      /**
60       * @return the integerField
61       */
62      public Integer getIntegerField() {
63          return integerField;
64      }
65  
66      /**
67       * Set the integerField.
68       *
69       * @param integerField the integerField to set
70       */
71      public void setIntegerField(Integer integerField) {
72          this.integerField = integerField;
73  
74      }
75  
76      /**
77       * @return the tringField
78       */
79      public String getStringField() {
80          return stringField;
81      }
82  
83      /**
84       * Set the stringField
85       *
86       * @param stringField the stringField to set
87       */
88      public void setStringField(String stringField) {
89          this.stringField = stringField;
90      }
91  
92      @Override
93      public String toString() {
94          return ToStringBuilder.reflectionToString(this);
95      }
96  
97  }
98