001 /* 002 * Copyright 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 org.kuali.kfs.gl.businessobject; 017 018 import java.util.LinkedHashMap; 019 020 import org.kuali.kfs.gl.OJBUtility; 021 import org.kuali.rice.kns.bo.TransientBusinessObjectBase; 022 import org.kuali.rice.kns.util.KualiDecimal; 023 024 /** 025 * This class represents the transient balance inquiry attributes which is typically used as a "dummy business object" 026 */ 027 public class TransientBalanceInquiryAttributes extends TransientBusinessObjectBase { 028 029 private String pendingEntryOption; 030 private String consolidationOption; 031 private String amountViewOption; 032 private String costShareOption; 033 private String blankLineOption; 034 private String linkButtonOption; 035 private KualiDecimal genericAmount; 036 private String genericText; 037 038 private String consolidationObjectCode; 039 private String reportingSortCode; 040 private String consolidationReportingSortCode; 041 private String levelObjectCode; 042 043 044 /** 045 * Constructs a DummyBusinessObject.java. 046 */ 047 public TransientBalanceInquiryAttributes() { 048 super(); 049 this.pendingEntryOption = ""; 050 this.consolidationOption = ""; 051 this.genericAmount = KualiDecimal.ZERO; 052 } 053 054 /** 055 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 056 */ 057 protected LinkedHashMap toStringMapper() { 058 return (LinkedHashMap) OJBUtility.buildPropertyMap(this); 059 } 060 061 /** 062 * Gets the pendingEntryOption attribute. 063 * 064 * @return Returns the pendingEntryOption. 065 */ 066 public String getPendingEntryOption() { 067 return pendingEntryOption; 068 } 069 070 /** 071 * Sets the pendingEntryOption attribute value. 072 * 073 * @param pendingEntryOption The pendingEntryOption to set. 074 */ 075 public void setPendingEntryOption(String pendingEntryOption) { 076 this.pendingEntryOption = pendingEntryOption; 077 } 078 079 /** 080 * Gets the consolidationOption attribute. 081 * 082 * @return Returns the consolidationOption. 083 */ 084 public String getConsolidationOption() { 085 return consolidationOption; 086 } 087 088 /** 089 * Sets the consolidationOption attribute value. 090 * 091 * @param consolidationOption The consolidationOption to set. 092 */ 093 public void setConsolidationOption(String consolidationOption) { 094 this.consolidationOption = consolidationOption; 095 } 096 097 /** 098 * Gets the linkButtonOption attribute. 099 * 100 * @return Returns the linkButtonOption. 101 */ 102 public String getLinkButtonOption() { 103 return linkButtonOption; 104 } 105 106 /** 107 * Sets the linkButtonOption attribute value. 108 * 109 * @param linkButtonOption The linkButtonOption to set. 110 */ 111 public void setLinkButtonOption(String linkButtonOption) { 112 this.linkButtonOption = linkButtonOption; 113 } 114 115 /** 116 * Gets the genericAmount attribute. 117 * 118 * @return Returns the genericAmount. 119 */ 120 public KualiDecimal getGenericAmount() { 121 return genericAmount; 122 } 123 124 /** 125 * Sets the genericAmount attribute value. 126 * 127 * @param genericAmount The genericDecimal to set. 128 */ 129 public void setGenericAmount(KualiDecimal genericAmount) { 130 this.genericAmount = genericAmount; 131 } 132 133 /** 134 * Gets the amountViewOption attribute. 135 * 136 * @return Returns the amountViewOption. 137 */ 138 public String getAmountViewOption() { 139 return amountViewOption; 140 } 141 142 /** 143 * Sets the amountViewOption attribute value. 144 * 145 * @param amountViewOption The amountViewOption to set. 146 */ 147 public void setAmountViewOption(String amountViewOption) { 148 this.amountViewOption = amountViewOption; 149 } 150 151 /** 152 * Gets the costShareOption attribute. 153 * 154 * @return Returns the costShareOption. 155 */ 156 public String getCostShareOption() { 157 return costShareOption; 158 } 159 160 /** 161 * Sets the costShareOption attribute value. 162 * 163 * @param costShareOption The costShareOption to set. 164 */ 165 public void setCostShareOption(String costShareOption) { 166 this.costShareOption = costShareOption; 167 } 168 169 /** 170 * Gets the consolidationObjectCode attribute. 171 * 172 * @return Returns the consolidationObjectCode. 173 */ 174 public String getConsolidationObjectCode() { 175 return consolidationObjectCode; 176 } 177 178 /** 179 * Sets the consolidationObjectCode attribute value. 180 * 181 * @param consolidationObjectCode The consolidationObjectCode to set. 182 */ 183 public void setConsolidationObjectCode(String consolidationObjectCode) { 184 this.consolidationObjectCode = consolidationObjectCode; 185 } 186 187 /** 188 * Gets the consolidationReportingSortCode attribute. 189 * 190 * @return Returns the consolidationReportingSortCode. 191 */ 192 public String getConsolidationReportingSortCode() { 193 return consolidationReportingSortCode; 194 } 195 196 /** 197 * Sets the consolidationReportingSortCode attribute value. 198 * 199 * @param consolidationReportingSortCode The consolidationReportingSortCode to set. 200 */ 201 public void setConsolidationReportingSortCode(String consolidationReportingSortCode) { 202 this.consolidationReportingSortCode = consolidationReportingSortCode; 203 } 204 205 /** 206 * Gets the reportingSortCode attribute. 207 * 208 * @return Returns the reportingSortCode. 209 */ 210 public String getReportingSortCode() { 211 return reportingSortCode; 212 } 213 214 /** 215 * Sets the reportingSortCode attribute value. 216 * 217 * @param reportingSortCode The reportingSortCode to set. 218 */ 219 public void setReportingSortCode(String reportingSortCode) { 220 this.reportingSortCode = reportingSortCode; 221 } 222 223 /** 224 * Gets the levelObjectCode attribute. 225 * 226 * @return Returns the levelObjectCode. 227 */ 228 public String getLevelObjectCode() { 229 return levelObjectCode; 230 } 231 232 /** 233 * Sets the levelObjectCode attribute value. 234 * 235 * @param levelObjectCode The levelObjectCode to set. 236 */ 237 public void setLevelObjectCode(String levelObjectCode) { 238 this.levelObjectCode = levelObjectCode; 239 } 240 241 /** 242 * Gets the genericText attribute. 243 * 244 * @return Returns the genericText. 245 */ 246 public String getGenericText() { 247 return genericText; 248 } 249 250 /** 251 * Sets the genericText attribute value. 252 * 253 * @param genericText The genericText to set. 254 */ 255 public void setGenericText(String genericText) { 256 this.genericText = genericText; 257 } 258 259 /** 260 * Gets the blankLineOption attribute. 261 * 262 * @return Returns the blankLineOption. 263 */ 264 public String getBlankLineOption() { 265 return blankLineOption; 266 } 267 268 /** 269 * Sets the blankLineOption attribute value. 270 * 271 * @param blankLineOption The blankLineOption to set. 272 */ 273 public void setBlankLineOption(String blankLineOption) { 274 this.blankLineOption = blankLineOption; 275 } 276 }