001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.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/ecl2.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.kfs.fp.businessobject;
018
019 import java.util.LinkedHashMap;
020
021 import org.kuali.rice.kns.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(String financialSystemFunctionControlCode) {
054 this.financialSystemFunctionControlCode = financialSystemFunctionControlCode;
055 }
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 /**
069 * Sets the financialSystemFunctionDefaultIndicator attribute.
070 *
071 * @param financialSystemFunctionDefaultIndicator The financialSystemFunctionDefaultIndicator to set.
072 */
073 public void setFinancialSystemFunctionDefaultIndicator(boolean financialSystemFunctionDefaultIndicator) {
074 this.financialSystemFunctionDefaultIndicator = financialSystemFunctionDefaultIndicator;
075 }
076
077
078 /**
079 * Gets the financialSystemFunctionDescription attribute.
080 *
081 * @return Returns the financialSystemFunctionDescription
082 */
083 public String getFinancialSystemFunctionDescription() {
084 return financialSystemFunctionDescription;
085 }
086
087 /**
088 * Sets the financialSystemFunctionDescription attribute.
089 *
090 * @param financialSystemFunctionDescription The financialSystemFunctionDescription to set.
091 */
092 public void setFinancialSystemFunctionDescription(String financialSystemFunctionDescription) {
093 this.financialSystemFunctionDescription = financialSystemFunctionDescription;
094 }
095
096
097 /**
098 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
099 */
100 protected LinkedHashMap toStringMapper() {
101 LinkedHashMap m = new LinkedHashMap();
102 m.put("financialSystemFunctionControlCode", this.financialSystemFunctionControlCode);
103 return m;
104 }
105 }