01: /*
02: * Copyright 2006-2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.kuali.module.purap.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectBase;
22:
23: /**
24: * Funding Source Business Object.
25: */
26: public class FundingSource extends PersistableBusinessObjectBase {
27:
28: private String fundingSourceCode;
29: private String fundingSourceDescription;
30: private boolean active;
31:
32: /**
33: * Default constructor.
34: */
35: public FundingSource() {
36:
37: }
38:
39: public boolean isActive() {
40: return active;
41: }
42:
43: public void setActive(boolean active) {
44: this .active = active;
45: }
46:
47: public String getFundingSourceCode() {
48: return fundingSourceCode;
49: }
50:
51: public void setFundingSourceCode(String fundingSourceCode) {
52: this .fundingSourceCode = fundingSourceCode;
53: }
54:
55: public String getFundingSourceDescription() {
56: return fundingSourceDescription;
57: }
58:
59: public void setFundingSourceDescription(
60: String fundingSourceDescription) {
61: this .fundingSourceDescription = fundingSourceDescription;
62: }
63:
64: /**
65: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
66: */
67: protected LinkedHashMap toStringMapper() {
68: LinkedHashMap m = new LinkedHashMap();
69: m.put("fundingSourceCode", this.fundingSourceCode);
70: return m;
71: }
72: }
|