1 /*
2 * The Kuali Financial System, a comprehensive financial management system for higher education.
3 *
4 * Copyright 2005-2014 The Kuali Foundation
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as
8 * published by the Free Software Foundation, either version 3 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
15 *
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 package org.kuali.kfs.fp.businessobject;
21
22 import java.util.LinkedHashMap;
23
24 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
25
26 /**
27 * This class is used to represent a function control code business object.
28 */
29 public class FunctionControlCode extends PersistableBusinessObjectBase {
30
31 private String financialSystemFunctionControlCode;
32 private boolean financialSystemFunctionDefaultIndicator;
33 private String financialSystemFunctionDescription;
34
35 /**
36 * Default constructor.
37 */
38 public FunctionControlCode() {
39
40 }
41
42 /**
43 * Gets the financialSystemFunctionControlCode attribute.
44 *
45 * @return Returns the financialSystemFunctionControlCode
46 */
47 public String getFinancialSystemFunctionControlCode() {
48 return financialSystemFunctionControlCode;
49 }
50
51 /**
52 * Sets the financialSystemFunctionControlCode attribute.
53 *
54 * @param financialSystemFunctionControlCode The financialSystemFunctionControlCode to set.
55 */
56 public void setFinancialSystemFunctionControlCode(String financialSystemFunctionControlCode) {
57 this.financialSystemFunctionControlCode = financialSystemFunctionControlCode;
58 }
59
60
61 /**
62 * Gets the financialSystemFunctionDefaultIndicator attribute.
63 *
64 * @return Returns the financialSystemFunctionDefaultIndicator
65 */
66 public boolean isFinancialSystemFunctionDefaultIndicator() {
67 return financialSystemFunctionDefaultIndicator;
68 }
69
70
71 /**
72 * Sets the financialSystemFunctionDefaultIndicator attribute.
73 *
74 * @param financialSystemFunctionDefaultIndicator The financialSystemFunctionDefaultIndicator to set.
75 */
76 public void setFinancialSystemFunctionDefaultIndicator(boolean financialSystemFunctionDefaultIndicator) {
77 this.financialSystemFunctionDefaultIndicator = financialSystemFunctionDefaultIndicator;
78 }
79
80
81 /**
82 * Gets the financialSystemFunctionDescription attribute.
83 *
84 * @return Returns the financialSystemFunctionDescription
85 */
86 public String getFinancialSystemFunctionDescription() {
87 return financialSystemFunctionDescription;
88 }
89
90 /**
91 * Sets the financialSystemFunctionDescription attribute.
92 *
93 * @param financialSystemFunctionDescription The financialSystemFunctionDescription to set.
94 */
95 public void setFinancialSystemFunctionDescription(String financialSystemFunctionDescription) {
96 this.financialSystemFunctionDescription = financialSystemFunctionDescription;
97 }
98
99
100 /**
101 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
102 */
103 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
104 LinkedHashMap m = new LinkedHashMap();
105 m.put("financialSystemFunctionControlCode", this.financialSystemFunctionControlCode);
106 return m;
107 }
108 }