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 org.kuali.rice.krad.test; 017 018 import org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase; 019 020 import java.util.List; 021 import java.util.Map; 022 023 /** 024 * Object for testing bean configurations 025 * 026 * @author Kuali Rice Team (rice.collab@kuali.org) 027 */ 028 public class TestDictionaryBean extends UifDictionaryBeanBase { 029 030 private String property1; 031 private String property2; 032 private boolean property3; 033 private int property4; 034 035 private List<String> list1; 036 private Map<String, String> map1; 037 038 private TestDictionaryBean reference1; 039 private TestDictionaryBean reference2; 040 041 private List<TestDictionaryBean> listReference1; 042 private List<TestDictionaryBean> listReference2; 043 044 private Map<String, TestDictionaryBean> mapReference1; 045 046 public TestDictionaryBean() { 047 048 } 049 050 public String getProperty1() { 051 return property1; 052 } 053 054 public void setProperty1(String property1) { 055 this.property1 = property1; 056 } 057 058 public String getProperty2() { 059 return property2; 060 } 061 062 public void setProperty2(String property2) { 063 this.property2 = property2; 064 } 065 066 public boolean isProperty3() { 067 return property3; 068 } 069 070 public void setProperty3(boolean property3) { 071 this.property3 = property3; 072 } 073 074 public int getProperty4() { 075 return property4; 076 } 077 078 public void setProperty4(int property4) { 079 this.property4 = property4; 080 } 081 082 public List<String> getList1() { 083 return list1; 084 } 085 086 public void setList1(List<String> list1) { 087 this.list1 = list1; 088 } 089 090 public Map<String, String> getMap1() { 091 return map1; 092 } 093 094 public void setMap1(Map<String, String> map1) { 095 this.map1 = map1; 096 } 097 098 public TestDictionaryBean getReference1() { 099 return reference1; 100 } 101 102 public void setReference1(TestDictionaryBean reference1) { 103 this.reference1 = reference1; 104 } 105 106 public TestDictionaryBean getReference2() { 107 return reference2; 108 } 109 110 public void setReference2(TestDictionaryBean reference2) { 111 this.reference2 = reference2; 112 } 113 114 public List<TestDictionaryBean> getListReference1() { 115 return listReference1; 116 } 117 118 public void setListReference1(List<TestDictionaryBean> listReference1) { 119 this.listReference1 = listReference1; 120 } 121 122 public List<TestDictionaryBean> getListReference2() { 123 return listReference2; 124 } 125 126 public void setListReference2(List<TestDictionaryBean> listReference2) { 127 this.listReference2 = listReference2; 128 } 129 130 public Map<String, TestDictionaryBean> getMapReference1() { 131 return mapReference1; 132 } 133 134 public void setMapReference1(Map<String, TestDictionaryBean> mapReference1) { 135 this.mapReference1 = mapReference1; 136 } 137 }