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.financial.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022:
023: /**
024: * This class is used to represent a function control code business object.
025: */
026: public class FunctionControlCode extends PersistableBusinessObjectBase {
027:
028: private String financialSystemFunctionControlCode;
029: private boolean financialSystemFunctionDefaultIndicator;
030: private String financialSystemFunctionDescription;
031:
032: /**
033: * Default constructor.
034: */
035: public FunctionControlCode() {
036:
037: }
038:
039: /**
040: * Gets the financialSystemFunctionControlCode attribute.
041: *
042: * @return Returns the financialSystemFunctionControlCode
043: */
044: public String getFinancialSystemFunctionControlCode() {
045: return financialSystemFunctionControlCode;
046: }
047:
048: /**
049: * Sets the financialSystemFunctionControlCode attribute.
050: *
051: * @param financialSystemFunctionControlCode The financialSystemFunctionControlCode to set.
052: */
053: public void setFinancialSystemFunctionControlCode(
054: String financialSystemFunctionControlCode) {
055: this .financialSystemFunctionControlCode = financialSystemFunctionControlCode;
056: }
057:
058: /**
059: * Gets the financialSystemFunctionDefaultIndicator attribute.
060: *
061: * @return Returns the financialSystemFunctionDefaultIndicator
062: */
063: public boolean isFinancialSystemFunctionDefaultIndicator() {
064: return financialSystemFunctionDefaultIndicator;
065: }
066:
067: /**
068: * Sets the financialSystemFunctionDefaultIndicator attribute.
069: *
070: * @param financialSystemFunctionDefaultIndicator The financialSystemFunctionDefaultIndicator to set.
071: */
072: public void setFinancialSystemFunctionDefaultIndicator(
073: boolean financialSystemFunctionDefaultIndicator) {
074: this .financialSystemFunctionDefaultIndicator = financialSystemFunctionDefaultIndicator;
075: }
076:
077: /**
078: * Gets the financialSystemFunctionDescription attribute.
079: *
080: * @return Returns the financialSystemFunctionDescription
081: */
082: public String getFinancialSystemFunctionDescription() {
083: return financialSystemFunctionDescription;
084: }
085:
086: /**
087: * Sets the financialSystemFunctionDescription attribute.
088: *
089: * @param financialSystemFunctionDescription The financialSystemFunctionDescription to set.
090: */
091: public void setFinancialSystemFunctionDescription(
092: String financialSystemFunctionDescription) {
093: this .financialSystemFunctionDescription = financialSystemFunctionDescription;
094: }
095:
096: /**
097: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
098: */
099: protected LinkedHashMap toStringMapper() {
100: LinkedHashMap m = new LinkedHashMap();
101: m.put("financialSystemFunctionControlCode",
102: this.financialSystemFunctionControlCode);
103: return m;
104: }
105: }
|