001: /*
002: * Copyright 2005-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: package org.kuali.module.chart.bo;
017:
018: import java.util.LinkedHashMap;
019:
020: import org.kuali.core.bo.PersistableBusinessObjectBase;
021:
022: /**
023: *
024: */
025: public class HigherEdFunction extends PersistableBusinessObjectBase {
026:
027: private String financialHigherEdFunctionCd;
028: private String financialHigherEdFunctionNm;
029: private String finUnivBdgtOfficeFunctionCd;
030: private String finAicpaFunctionCode;
031: private String financialFederalFunctionCode;
032:
033: private UniversityBudgetOfficeFunction universityBudgetOfficeFunction;
034: private FederalFunction federalFunction;
035: private AicpaFunction aicpaFunction; // American Institute of Certified Public Accountants
036:
037: /**
038: * Default no-arg constructor.
039: */
040: public HigherEdFunction() {
041:
042: }
043:
044: /**
045: * Gets the financialHigherEdFunctionCd attribute.
046: *
047: * @return Returns the financialHigherEdFunctionCd
048: */
049: public String getFinancialHigherEdFunctionCd() {
050: return financialHigherEdFunctionCd;
051: }
052:
053: /**
054: * Sets the financialHigherEdFunctionCd attribute.
055: *
056: * @param financialHigherEdFunctionCd The financialHigherEdFunctionCd to set.
057: */
058: public void setFinancialHigherEdFunctionCd(
059: String financialHigherEdFunctionCd) {
060: this .financialHigherEdFunctionCd = financialHigherEdFunctionCd;
061: }
062:
063: /**
064: * Gets the financialHigherEdFunctionNm attribute.
065: *
066: * @return Returns the financialHigherEdFunctionNm
067: */
068: public String getFinancialHigherEdFunctionNm() {
069: return financialHigherEdFunctionNm;
070: }
071:
072: /**
073: * Sets the financialHigherEdFunctionNm attribute.
074: *
075: * @param financialHigherEdFunctionNm The financialHigherEdFunctionNm to set.
076: */
077: public void setFinancialHigherEdFunctionNm(
078: String financialHigherEdFunctionNm) {
079: this .financialHigherEdFunctionNm = financialHigherEdFunctionNm;
080: }
081:
082: /**
083: * Gets the finUnivBdgtOfficeFunctionCd attribute.
084: *
085: * @return Returns the finUnivBdgtOfficeFunctionCd
086: */
087: public String getFinUnivBdgtOfficeFunctionCd() {
088: return finUnivBdgtOfficeFunctionCd;
089: }
090:
091: /**
092: * Sets the finUnivBdgtOfficeFunctionCd attribute.
093: *
094: * @param finUnivBdgtOfficeFunctionCd The finUnivBdgtOfficeFunctionCd to set.
095: */
096: public void setFinUnivBdgtOfficeFunctionCd(
097: String finUnivBdgtOfficeFunctionCd) {
098: this .finUnivBdgtOfficeFunctionCd = finUnivBdgtOfficeFunctionCd;
099: }
100:
101: /**
102: * Gets the finAicpaFunctionCode attribute.
103: *
104: * @return Returns the finAicpaFunctionCode
105: */
106: public String getFinAicpaFunctionCode() {
107: return finAicpaFunctionCode;
108: }
109:
110: /**
111: * Sets the finAicpaFunctionCode attribute.
112: *
113: * @param finAicpaFunctionCode The finAicpaFunctionCode to set.
114: */
115: public void setFinAicpaFunctionCode(String finAicpaFunctionCode) {
116: this .finAicpaFunctionCode = finAicpaFunctionCode;
117: }
118:
119: /**
120: * Gets the financialFederalFunctionCode attribute.
121: *
122: * @return Returns the financialFederalFunctionCode
123: */
124: public String getFinancialFederalFunctionCode() {
125: return financialFederalFunctionCode;
126: }
127:
128: /**
129: * Sets the financialFederalFunctionCode attribute.
130: *
131: * @param financialFederalFunctionCode The financialFederalFunctionCode to set.
132: */
133: public void setFinancialFederalFunctionCode(
134: String financialFederalFunctionCode) {
135: this .financialFederalFunctionCode = financialFederalFunctionCode;
136: }
137:
138: /**
139: * @return Returns the universityBudgetOfficeFunction.
140: */
141: public UniversityBudgetOfficeFunction getUniversityBudgetOfficeFunction() {
142: return universityBudgetOfficeFunction;
143: }
144:
145: /**
146: * @param universityBudgetOfficeFunction The universityBudgetOfficeFunction to set.
147: * @deprecated
148: */
149: public void setUniversityBudgetOfficeFunction(
150: UniversityBudgetOfficeFunction universityBudgetOfficeFunction) {
151: this .universityBudgetOfficeFunction = universityBudgetOfficeFunction;
152: }
153:
154: /**
155: * @return Returns the federalFunction.
156: */
157: public FederalFunction getFederalFunction() {
158: return federalFunction;
159: }
160:
161: /**
162: * @param federalFunction The federalFunction to set.
163: * @deprecated
164: */
165: public void setFederalFunction(FederalFunction federalFunction) {
166: this .federalFunction = federalFunction;
167: }
168:
169: /**
170: * @return Returns the aicpaFunction.
171: */
172: public AicpaFunction getAicpaFunction() {
173: return aicpaFunction;
174: }
175:
176: /**
177: * @param aicpaFunction The aicpaFunction to set.
178: * @deprecated
179: */
180: public void setAicpaFunction(AicpaFunction aicpaFunction) {
181: this .aicpaFunction = aicpaFunction;
182: }
183:
184: /**
185: * @return Returns the code and description in format: xx - xxxxxxxxxxxxxxxx
186: */
187: public String getCodeAndDescription() {
188: String theString = getFinancialHigherEdFunctionCd() + " - "
189: + getFinancialHigherEdFunctionNm();
190: return theString;
191: }
192:
193: /**
194: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
195: */
196: protected LinkedHashMap toStringMapper() {
197: LinkedHashMap m = new LinkedHashMap();
198: m.put("financialHigherEdFunctionCd",
199: this.financialHigherEdFunctionCd);
200: return m;
201: }
202:
203: }
|