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: import org.kuali.module.chart.bo.codes.ICRTypeCode;
023:
024: /**
025: *
026: */
027: public class IndirectCostRecoveryExclusionType extends
028: PersistableBusinessObjectBase {
029:
030: private String accountIndirectCostRecoveryTypeCode;
031: private String chartOfAccountsCode;
032: private String financialObjectCode;
033: private Chart chart;
034: private ICRTypeCode indirectCostRecoveryType;
035: private ObjectCode objectCodeCurrent;
036:
037: public IndirectCostRecoveryExclusionType() {
038: super ();
039: }
040:
041: /**
042: * Gets the accountIndirectCostRecoveryTypeCode attribute.
043: *
044: * @return Returns the accountIndirectCostRecoveryTypeCode
045: */
046: public String getAccountIndirectCostRecoveryTypeCode() {
047: return accountIndirectCostRecoveryTypeCode;
048: }
049:
050: /**
051: * Sets the accountIndirectCostRecoveryTypeCode attribute.
052: *
053: * @param accountIndirectCostRecoveryTypeCode The accountIndirectCostRecoveryTypeCode to set.
054: */
055: public void setAccountIndirectCostRecoveryTypeCode(
056: String accountIndirectCostRecoveryTypeCode) {
057: this .accountIndirectCostRecoveryTypeCode = accountIndirectCostRecoveryTypeCode;
058: }
059:
060: /**
061: * Gets the chartOfAccountsCode attribute.
062: *
063: * @return Returns the chartOfAccountsCode
064: */
065: public String getChartOfAccountsCode() {
066: return chartOfAccountsCode;
067: }
068:
069: /**
070: * Sets the chartOfAccountsCode attribute.
071: *
072: * @param chartOfAccountsCode The chartOfAccountsCode to set.
073: */
074: public void setChartOfAccountsCode(String chartOfAccountsCode) {
075: this .chartOfAccountsCode = chartOfAccountsCode;
076: }
077:
078: /**
079: * Gets the financialObjectCode attribute.
080: *
081: * @return Returns the financialObjectCode
082: */
083: public String getFinancialObjectCode() {
084: return financialObjectCode;
085: }
086:
087: /**
088: * Sets the financialObjectCode attribute.
089: *
090: * @param financialObjectCode The financialObjectCode to set.
091: */
092: public void setFinancialObjectCode(String financialObjectCode) {
093: this .financialObjectCode = financialObjectCode;
094: }
095:
096: /**
097: * Gets the chart attribute.
098: *
099: * @return Returns the chart
100: */
101: public Chart getChart() {
102: return chart;
103: }
104:
105: /**
106: * Sets the chart attribute.
107: *
108: * @param chart The chart to set.
109: * @deprecated
110: */
111: public void setChart(Chart chart) {
112: this .chart = chart;
113: }
114:
115: /**
116: * @return Returns the indirectCostRecoveryType.
117: */
118: public ICRTypeCode getIndirectCostRecoveryType() {
119: return indirectCostRecoveryType;
120: }
121:
122: /**
123: * @param indirectCostRecoveryType The indirectCostRecoveryType to set.
124: * @deprecated
125: */
126: public void setIndirectCostRecoveryType(
127: ICRTypeCode indirectCostRecoveryType) {
128: this .indirectCostRecoveryType = indirectCostRecoveryType;
129: }
130:
131: /**
132: * @return Returns the objectCode.
133: */
134: public ObjectCode getObjectCodeCurrent() {
135: return objectCodeCurrent;
136: }
137:
138: /**
139: * @param objectCode The objectCode to set.
140: * @deprecated
141: */
142: public void setObjectCodeCurrent(ObjectCode objectCodeCurrent) {
143: this .objectCodeCurrent = objectCodeCurrent;
144: }
145:
146: /**
147: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
148: */
149: protected LinkedHashMap toStringMapper() {
150: LinkedHashMap m = new LinkedHashMap();
151: m.put("accountIndirectCostRecoveryTypeCode",
152: this .accountIndirectCostRecoveryTypeCode);
153: m.put("chartOfAccountsCode", this .chartOfAccountsCode);
154: m.put("financialObjectCode", this.financialObjectCode);
155: return m;
156: }
157:
158: }
|