001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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:
017: package org.kuali.module.chart.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: *
025: */
026: public class IndirectCostRecoveryExclusionAccount extends
027: PersistableBusinessObjectBase {
028:
029: private String chartOfAccountsCode;
030: private String accountNumber;
031: private String financialObjectChartOfAccountCode;
032: private String financialObjectCode;
033: private Chart chart;
034: private Account account;
035: private Chart financialObjectChartOfAccount;
036: private ObjectCode objectCodeCurrent;
037:
038: public IndirectCostRecoveryExclusionAccount() {
039: super ();
040: }
041:
042: /**
043: * Gets the chartOfAccountsCode attribute.
044: *
045: * @return Returns the chartOfAccountsCode
046: */
047: public String getChartOfAccountsCode() {
048: return chartOfAccountsCode;
049: }
050:
051: /**
052: * Sets the chartOfAccountsCode attribute.
053: *
054: * @param chartOfAccountsCode The chartOfAccountsCode to set.
055: */
056: public void setChartOfAccountsCode(String chartOfAccountsCode) {
057: this .chartOfAccountsCode = chartOfAccountsCode;
058: }
059:
060: /**
061: * Gets the accountNumber attribute.
062: *
063: * @return Returns the accountNumber
064: */
065: public String getAccountNumber() {
066: return accountNumber;
067: }
068:
069: /**
070: * Sets the accountNumber attribute.
071: *
072: * @param accountNumber The accountNumber to set.
073: */
074: public void setAccountNumber(String accountNumber) {
075: this .accountNumber = accountNumber;
076: }
077:
078: /**
079: * Gets the financialObjectChartOfAccountCode attribute.
080: *
081: * @return Returns the financialObjectChartOfAccountCode
082: */
083: public String getFinancialObjectChartOfAccountCode() {
084: return financialObjectChartOfAccountCode;
085: }
086:
087: /**
088: * Sets the financialObjectChartOfAccountCode attribute.
089: *
090: * @param financialObjectChartOfAccountCode The financialObjectChartOfAccountCode to set.
091: */
092: public void setFinancialObjectChartOfAccountCode(
093: String financialObjectChartOfAccountCode) {
094: this .financialObjectChartOfAccountCode = financialObjectChartOfAccountCode;
095: }
096:
097: /**
098: * Gets the financialObjectCode attribute.
099: *
100: * @return Returns the financialObjectCode
101: */
102: public String getFinancialObjectCode() {
103: return financialObjectCode;
104: }
105:
106: /**
107: * Sets the financialObjectCode attribute.
108: *
109: * @param financialObjectCode The financialObjectCode to set.
110: */
111: public void setFinancialObjectCode(String financialObjectCode) {
112: this .financialObjectCode = financialObjectCode;
113: }
114:
115: /**
116: * Gets the chart attribute.
117: *
118: * @return Returns the chart
119: */
120: public Chart getChart() {
121: return chart;
122: }
123:
124: /**
125: * Sets the chart attribute.
126: *
127: * @param chart The chart to set.
128: * @deprecated
129: */
130: public void setChart(Chart chart) {
131: this .chart = chart;
132: }
133:
134: /**
135: * Gets the account attribute.
136: *
137: * @return Returns the account
138: */
139: public Account getAccount() {
140: return account;
141: }
142:
143: /**
144: * Sets the account attribute.
145: *
146: * @param account The account to set.
147: * @deprecated
148: */
149: public void setAccount(Account account) {
150: this .account = account;
151: }
152:
153: /**
154: * Gets the financialObjectChartOfAccount attribute.
155: *
156: * @return Returns the financialObjectChartOfAccount
157: */
158: public Chart getFinancialObjectChartOfAccount() {
159: return financialObjectChartOfAccount;
160: }
161:
162: /**
163: * Sets the financialObjectChartOfAccount attribute.
164: *
165: * @param financialObjectChartOfAccount The financialObjectChartOfAccount to set.
166: * @deprecated
167: */
168: public void setFinancialObjectChartOfAccount(
169: Chart financialObjectChartOfAccount) {
170: this .financialObjectChartOfAccount = financialObjectChartOfAccount;
171: }
172:
173: /**
174: * @return Returns the objectCode.
175: */
176: public ObjectCode getObjectCodeCurrent() {
177: return objectCodeCurrent;
178: }
179:
180: /**
181: * @param objectCode The objectCode to set.
182: * @deprecated
183: */
184: public void setObjectCodeCurrent(ObjectCode objectCodeCurrent) {
185: this .objectCodeCurrent = objectCodeCurrent;
186: }
187:
188: /**
189: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
190: */
191: protected LinkedHashMap toStringMapper() {
192: LinkedHashMap m = new LinkedHashMap();
193: m.put("chartOfAccountsCode", this .chartOfAccountsCode);
194: m.put("accountNumber", this .accountNumber);
195: m.put("financialObjectChartOfAccountCode",
196: this .financialObjectChartOfAccountCode);
197: m.put("financialObjectCode", this.financialObjectCode);
198: return m;
199: }
200:
201: }
|