001/** 002 * Copyright 2005-2018 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 */ 016package org.kuali.rice.krad.demo.uif.form; 017 018import org.apache.commons.lang.builder.ToStringBuilder; 019import org.joda.time.DateTime; 020 021import java.io.Serializable; 022import java.math.BigDecimal; 023import java.util.ArrayList; 024import java.util.Arrays; 025import java.util.HashMap; 026import java.util.List; 027import java.util.Map; 028 029/** 030 * For server paging test view purposes only 031 * 032 * @author Kuali Rice Team (rice.collab@kuali.org) 033 */ 034public class ServerPagingTestObject implements Serializable { 035 private static final long serialVersionUID = -7525378097732916411L; 036 037 private BigDecimal doubleField; 038 private Integer integerField = 0; 039 private String stringField; 040 041 public ServerPagingTestObject() { } 042 043 /** 044 * @return the doubleField 045 */ 046 public BigDecimal getDoubleField() { 047 return doubleField; 048 } 049 050 /** 051 * set the doubleField. 052 * 053 * @param doubleField the doubleField to set 054 */ 055 public void setDoubleField(BigDecimal doubleField) { 056 this.doubleField = doubleField; 057 } 058 059 /** 060 * @return the integerField 061 */ 062 public Integer getIntegerField() { 063 return integerField; 064 } 065 066 /** 067 * Set the integerField. 068 * 069 * @param integerField the integerField to set 070 */ 071 public void setIntegerField(Integer integerField) { 072 this.integerField = integerField; 073 } 074 075 /** 076 * @return the stringField 077 */ 078 public String getStringField() { 079 return stringField; 080 } 081 082 /** 083 * Set the stringField 084 * 085 * @param stringField the stringField to set 086 */ 087 public void setStringField(String stringField) { 088 this.stringField = stringField; 089 } 090 091 @Override 092 public String toString() { 093 return ToStringBuilder.reflectionToString(this); 094 } 095 096}