001/* 002 * Copyright 2005-2008 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 017package org.kuali.ole.coa.businessobject; 018 019import java.math.BigDecimal; 020import java.util.LinkedHashMap; 021 022import org.kuali.ole.sys.businessobject.FiscalYearBasedBusinessObject; 023import org.kuali.ole.sys.businessobject.SystemOptions; 024import org.kuali.rice.core.api.mo.common.active.MutableInactivatable; 025import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 026 027/** 028 * 029 */ 030public class IndirectCostRecoveryRateDetail extends PersistableBusinessObjectBase implements MutableInactivatable, FiscalYearBasedBusinessObject { 031 032 /** 033 * Default no-arg constructor. 034 */ 035 public IndirectCostRecoveryRateDetail() { 036 } 037 038 private Integer universityFiscalYear; 039 private String financialIcrSeriesIdentifier; 040 private Integer awardIndrCostRcvyEntryNbr; 041 private String transactionDebitIndicator; 042 private BigDecimal awardIndrCostRcvyRatePct; 043 private String chartOfAccountsCode; 044 private String accountNumber; 045 private String subAccountNumber; 046 private String financialObjectCode; 047 private String financialSubObjectCode; 048 private boolean active; 049 050 private SystemOptions universityFiscal; 051 private IndirectCostRecoveryRate indirectCostRecoveryRate; 052 053 /* 054 * Don't use reference objects because Chart, Account, Sub-Account, etc. contain special characters. RO 2/8/06 private Chart 055 * chartOfAccounts; private Account account; private SubAccount subAccount; private ObjectCode financialObject; private SubObjCd 056 * financialSubObject; private ObjectCode offsetBalanceSheetObjectCode; 057 */ 058 059 /* 060 * public Account getAccount() { return account; } public void setAccount(Account account) { this.account = account; } 061 */ 062 public String getAccountNumber() { 063 return accountNumber; 064 } 065 066 067 public void setAccountNumber(String accountNumber) { 068 this.accountNumber = accountNumber; 069 } 070 071 072 public Integer getAwardIndrCostRcvyEntryNbr() { 073 return awardIndrCostRcvyEntryNbr; 074 } 075 076 077 public void setAwardIndrCostRcvyEntryNbr(Integer awardIndrCostRcvyEntryNbr) { 078 this.awardIndrCostRcvyEntryNbr = awardIndrCostRcvyEntryNbr; 079 } 080 081 082 public BigDecimal getAwardIndrCostRcvyRatePct() { 083 return awardIndrCostRcvyRatePct; 084 } 085 086 087 public void setAwardIndrCostRcvyRatePct(BigDecimal awardIndrCostRcvyRatePct) { 088 this.awardIndrCostRcvyRatePct = awardIndrCostRcvyRatePct; 089 } 090 091 /* 092 * public Chart getChartOfAccounts() { return chartOfAccounts; } public void setChartOfAccounts(Chart chartOfAccounts) { 093 * this.chartOfAccounts = chartOfAccounts; } 094 */ 095 public String getChartOfAccountsCode() { 096 return chartOfAccountsCode; 097 } 098 099 100 public void setChartOfAccountsCode(String chartOfAccountsCode) { 101 this.chartOfAccountsCode = chartOfAccountsCode; 102 } 103 104 105 public String getFinancialIcrSeriesIdentifier() { 106 return financialIcrSeriesIdentifier; 107 } 108 109 110 public void setFinancialIcrSeriesIdentifier(String financialIcrSeriesIdentifier) { 111 this.financialIcrSeriesIdentifier = financialIcrSeriesIdentifier; 112 } 113 114 115 /* 116 * public ObjectCode getFinancialObject() { return financialObject; } public void setFinancialObject(ObjectCode financialObject) { 117 * this.financialObject = financialObject; } 118 */ 119 public String getFinancialObjectCode() { 120 return financialObjectCode; 121 } 122 123 124 public void setFinancialObjectCode(String financialObjectCode) { 125 this.financialObjectCode = financialObjectCode; 126 } 127 128 /* 129 * public SubObjCd getFinancialSubObject() { return financialSubObject; } public void setFinancialSubObject(SubObjCd 130 * financialSubObject) { this.financialSubObject = financialSubObject; } 131 */ 132 133 public String getFinancialSubObjectCode() { 134 return financialSubObjectCode; 135 } 136 137 138 public void setFinancialSubObjectCode(String financialSubObjectCode) { 139 this.financialSubObjectCode = financialSubObjectCode; 140 } 141 142 /* 143 * public SubAccount getSubAccount() { return subAccount; } public void setSubAccount(SubAccount subAccount) { this.subAccount = 144 * subAccount; } 145 */ 146 147 public String getSubAccountNumber() { 148 return subAccountNumber; 149 } 150 151 152 public void setSubAccountNumber(String subAccountNumber) { 153 this.subAccountNumber = subAccountNumber; 154 } 155 156 157 public String getTransactionDebitIndicator() { 158 return transactionDebitIndicator; 159 } 160 161 162 public void setTransactionDebitIndicator(String transactionDebitIndicator) { 163 this.transactionDebitIndicator = transactionDebitIndicator; 164 } 165 166 167 public SystemOptions getUniversityFiscal() { 168 return universityFiscal; 169 } 170 171 172 public void setUniversityFiscal(SystemOptions universityFiscal) { 173 this.universityFiscal = universityFiscal; 174 } 175 176 177 public Integer getUniversityFiscalYear() { 178 return universityFiscalYear; 179 } 180 181 182 public void setUniversityFiscalYear(Integer universityFiscalYear) { 183 this.universityFiscalYear = universityFiscalYear; 184 } 185 186 187 /** 188 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper() 189 */ 190 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { 191 192 LinkedHashMap m = new LinkedHashMap(); 193 m.put("universityFiscal", this.universityFiscalYear); 194 m.put("financialIcrSeriesIdentifier", this.financialIcrSeriesIdentifier); 195 m.put("awardIndrCostRcvyEntryNbr", this.awardIndrCostRcvyEntryNbr); 196 197 return m; 198 } 199 200 201 public boolean isActive() { 202 return active; 203 } 204 205 206 public void setActive(boolean active) { 207 this.active = active; 208 } 209 210 public IndirectCostRecoveryRate getIndirectCostRecoveryRate() { 211 return indirectCostRecoveryRate; 212 } 213 214 public void setIndirectCostRecoveryRate(IndirectCostRecoveryRate indirectCostRecoveryRate) { 215 this.indirectCostRecoveryRate = indirectCostRecoveryRate; 216 } 217}