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.module.ld.businessobject; 017 018 import java.sql.Timestamp; 019 import java.util.LinkedHashMap; 020 021 import org.kuali.kfs.coa.businessobject.Account; 022 import org.kuali.kfs.coa.businessobject.Chart; 023 import org.kuali.kfs.sys.businessobject.SystemOptions; 024 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 025 import org.kuali.rice.kns.util.KualiDecimal; 026 027 public class LedgerBalanceForYearEndBalanceForward extends PersistableBusinessObjectBase { 028 029 private Integer universityFiscalYear; 030 private String chartOfAccountsCode; 031 private String accountNumber; 032 private String subAccountNumber; 033 private String financialObjectCode; 034 private String financialSubObjectCode; 035 private String financialBalanceTypeCode; 036 private String financialObjectTypeCode; 037 private String positionNumber; 038 private String emplid; 039 private String financialObjectFringeOrSalaryCode; 040 private KualiDecimal accountLineAnnualBalanceAmount; 041 private KualiDecimal financialBeginningBalanceLineAmount; 042 private KualiDecimal contractsGrantsBeginningBalanceAmount; 043 private Timestamp transactionDateTimeStamp; 044 045 private Chart chartOfAccounts; 046 private Account account; 047 private SystemOptions option; 048 049 /** 050 * Gets the universityFiscalYear attribute. 051 * 052 * @return Returns the universityFiscalYear. 053 */ 054 public Integer getUniversityFiscalYear() { 055 return universityFiscalYear; 056 } 057 058 /** 059 * Sets the universityFiscalYear attribute value. 060 * 061 * @param universityFiscalYear The universityFiscalYear to set. 062 */ 063 public void setUniversityFiscalYear(Integer universityFiscalYear) { 064 this.universityFiscalYear = universityFiscalYear; 065 } 066 067 /** 068 * Gets the chartOfAccountsCode attribute. 069 * 070 * @return Returns the chartOfAccountsCode. 071 */ 072 public String getChartOfAccountsCode() { 073 return chartOfAccountsCode; 074 } 075 076 /** 077 * Sets the chartOfAccountsCode attribute value. 078 * 079 * @param chartOfAccountsCode The chartOfAccountsCode to set. 080 */ 081 public void setChartOfAccountsCode(String chartOfAccountsCode) { 082 this.chartOfAccountsCode = chartOfAccountsCode; 083 } 084 085 /** 086 * Gets the accountNumber attribute. 087 * 088 * @return Returns the accountNumber. 089 */ 090 public String getAccountNumber() { 091 return accountNumber; 092 } 093 094 /** 095 * Sets the accountNumber attribute value. 096 * 097 * @param accountNumber The accountNumber to set. 098 */ 099 public void setAccountNumber(String accountNumber) { 100 this.accountNumber = accountNumber; 101 } 102 103 /** 104 * Gets the subAccountNumber attribute. 105 * 106 * @return Returns the subAccountNumber. 107 */ 108 public String getSubAccountNumber() { 109 return subAccountNumber; 110 } 111 112 /** 113 * Sets the subAccountNumber attribute value. 114 * 115 * @param subAccountNumber The subAccountNumber to set. 116 */ 117 public void setSubAccountNumber(String subAccountNumber) { 118 this.subAccountNumber = subAccountNumber; 119 } 120 121 /** 122 * Gets the financialObjectCode attribute. 123 * 124 * @return Returns the financialObjectCode. 125 */ 126 public String getFinancialObjectCode() { 127 return financialObjectCode; 128 } 129 130 /** 131 * Sets the financialObjectCode attribute value. 132 * 133 * @param financialObjectCode The financialObjectCode to set. 134 */ 135 public void setFinancialObjectCode(String financialObjectCode) { 136 this.financialObjectCode = financialObjectCode; 137 } 138 139 /** 140 * Gets the financialSubObjectCode attribute. 141 * 142 * @return Returns the financialSubObjectCode. 143 */ 144 public String getFinancialSubObjectCode() { 145 return financialSubObjectCode; 146 } 147 148 /** 149 * Sets the financialSubObjectCode attribute value. 150 * 151 * @param financialSubObjectCode The financialSubObjectCode to set. 152 */ 153 public void setFinancialSubObjectCode(String financialSubObjectCode) { 154 this.financialSubObjectCode = financialSubObjectCode; 155 } 156 157 /** 158 * Gets the financialBalanceTypeCode attribute. 159 * 160 * @return Returns the financialBalanceTypeCode. 161 */ 162 public String getFinancialBalanceTypeCode() { 163 return financialBalanceTypeCode; 164 } 165 166 /** 167 * Sets the financialBalanceTypeCode attribute value. 168 * 169 * @param financialBalanceTypeCode The financialBalanceTypeCode to set. 170 */ 171 public void setFinancialBalanceTypeCode(String financialBalanceTypeCode) { 172 this.financialBalanceTypeCode = financialBalanceTypeCode; 173 } 174 175 /** 176 * Gets the financialObjectTypeCode attribute. 177 * 178 * @return Returns the financialObjectTypeCode. 179 */ 180 public String getFinancialObjectTypeCode() { 181 return financialObjectTypeCode; 182 } 183 184 /** 185 * Sets the financialObjectTypeCode attribute value. 186 * 187 * @param financialObjectTypeCode The financialObjectTypeCode to set. 188 */ 189 public void setFinancialObjectTypeCode(String financialObjectTypeCode) { 190 this.financialObjectTypeCode = financialObjectTypeCode; 191 } 192 193 /** 194 * Gets the positionNumber attribute. 195 * 196 * @return Returns the positionNumber. 197 */ 198 public String getPositionNumber() { 199 return positionNumber; 200 } 201 202 /** 203 * Sets the positionNumber attribute value. 204 * 205 * @param positionNumber The positionNumber to set. 206 */ 207 public void setPositionNumber(String positionNumber) { 208 this.positionNumber = positionNumber; 209 } 210 211 /** 212 * Gets the emplid attribute. 213 * 214 * @return Returns the emplid. 215 */ 216 public String getEmplid() { 217 return emplid; 218 } 219 220 /** 221 * Sets the emplid attribute value. 222 * 223 * @param emplid The emplid to set. 224 */ 225 public void setEmplid(String emplid) { 226 this.emplid = emplid; 227 } 228 229 /** 230 * Gets the financialObjectFringeOrSalaryCode attribute. 231 * 232 * @return Returns the financialObjectFringeOrSalaryCode. 233 */ 234 public String getFinancialObjectFringeOrSalaryCode() { 235 return financialObjectFringeOrSalaryCode; 236 } 237 238 /** 239 * Sets the financialObjectFringeOrSalaryCode attribute value. 240 * 241 * @param financialObjectFringeOrSalaryCode The financialObjectFringeOrSalaryCode to set. 242 */ 243 public void setFinancialObjectFringeOrSalaryCode(String financialObjectFringeOrSalaryCode) { 244 this.financialObjectFringeOrSalaryCode = financialObjectFringeOrSalaryCode; 245 } 246 247 /** 248 * Gets the accountLineAnnualBalanceAmount attribute. 249 * 250 * @return Returns the accountLineAnnualBalanceAmount. 251 */ 252 public KualiDecimal getAccountLineAnnualBalanceAmount() { 253 return accountLineAnnualBalanceAmount; 254 } 255 256 /** 257 * Sets the accountLineAnnualBalanceAmount attribute value. 258 * 259 * @param accountLineAnnualBalanceAmount The accountLineAnnualBalanceAmount to set. 260 */ 261 public void setAccountLineAnnualBalanceAmount(KualiDecimal accountLineAnnualBalanceAmount) { 262 this.accountLineAnnualBalanceAmount = accountLineAnnualBalanceAmount; 263 } 264 265 /** 266 * Gets the financialBeginningBalanceLineAmount attribute. 267 * 268 * @return Returns the financialBeginningBalanceLineAmount. 269 */ 270 public KualiDecimal getFinancialBeginningBalanceLineAmount() { 271 return financialBeginningBalanceLineAmount; 272 } 273 274 /** 275 * Sets the financialBeginningBalanceLineAmount attribute value. 276 * 277 * @param financialBeginningBalanceLineAmount The financialBeginningBalanceLineAmount to set. 278 */ 279 public void setFinancialBeginningBalanceLineAmount(KualiDecimal financialBeginningBalanceLineAmount) { 280 this.financialBeginningBalanceLineAmount = financialBeginningBalanceLineAmount; 281 } 282 283 /** 284 * Gets the contractsGrantsBeginningBalanceAmount attribute. 285 * 286 * @return Returns the contractsGrantsBeginningBalanceAmount. 287 */ 288 public KualiDecimal getContractsGrantsBeginningBalanceAmount() { 289 return contractsGrantsBeginningBalanceAmount; 290 } 291 292 /** 293 * Sets the contractsGrantsBeginningBalanceAmount attribute value. 294 * 295 * @param contractsGrantsBeginningBalanceAmount The contractsGrantsBeginningBalanceAmount to set. 296 */ 297 public void setContractsGrantsBeginningBalanceAmount(KualiDecimal contractsGrantsBeginningBalanceAmount) { 298 this.contractsGrantsBeginningBalanceAmount = contractsGrantsBeginningBalanceAmount; 299 } 300 301 /** 302 * Gets the transactionDateTimeStamp attribute. 303 * 304 * @return Returns the transactionDateTimeStamp. 305 */ 306 public Timestamp getTransactionDateTimeStamp() { 307 return transactionDateTimeStamp; 308 } 309 310 /** 311 * Sets the transactionDateTimeStamp attribute value. 312 * 313 * @param transactionDateTimeStamp The transactionDateTimeStamp to set. 314 */ 315 public void setTransactionDateTimeStamp(Timestamp transactionDateTimeStamp) { 316 this.transactionDateTimeStamp = transactionDateTimeStamp; 317 } 318 319 /** 320 * Gets the chartOfAccounts attribute. 321 * 322 * @return Returns the chartOfAccounts. 323 */ 324 public Chart getChartOfAccounts() { 325 return chartOfAccounts; 326 } 327 328 /** 329 * Sets the chartOfAccounts attribute value. 330 * 331 * @param chartOfAccounts The chartOfAccounts to set. 332 */ 333 public void setChartOfAccounts(Chart chartOfAccounts) { 334 this.chartOfAccounts = chartOfAccounts; 335 } 336 337 /** 338 * Gets the account attribute. 339 * 340 * @return Returns the account. 341 */ 342 public Account getAccount() { 343 return account; 344 } 345 346 /** 347 * Sets the account attribute value. 348 * 349 * @param account The account to set. 350 */ 351 public void setAccount(Account account) { 352 this.account = account; 353 } 354 355 /** 356 * Gets the option attribute. 357 * 358 * @return Returns the option. 359 */ 360 public SystemOptions getOption() { 361 return option; 362 } 363 364 /** 365 * Sets the option attribute value. 366 * 367 * @param option The option to set. 368 */ 369 public void setOption(SystemOptions option) { 370 this.option = option; 371 } 372 373 @Override 374 protected LinkedHashMap toStringMapper() { 375 // TODO Auto-generated method stub 376 return null; 377 } 378 }