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.codes;
017:
018: import org.kuali.core.bo.KualiCodeBase;
019:
020: /**
021: * This class is the business object for the Balance Type object.
022: */
023: public class BalanceTyp extends KualiCodeBase {
024:
025: private String financialBalanceTypeShortNm;
026: private boolean financialOffsetGenerationIndicator;
027: private boolean finBalanceTypeEncumIndicator;
028:
029: /**
030: * Constructs a BalanceTyp.java.
031: */
032: public BalanceTyp() {
033: super .setActive(true); // always active, plus no column in the table
034: }
035:
036: /**
037: * @param typeCode
038: */
039: public BalanceTyp(String typeCode) {
040: this ();
041: setCode(typeCode);
042: }
043:
044: /**
045: * @return Returns the financialBalanceTypeName.
046: */
047:
048: public String getFinancialBalanceTypeName() {
049: return this .getName();
050: }
051:
052: /**
053: * @param financialBalanceTypeName The financialBalanceTypeName to set.
054: */
055: public void setFinancialBalanceTypeName(
056: String financialBalanceTypeName) {
057: this .setName(financialBalanceTypeName);
058: }
059:
060: /**
061: * @return Returns the financialBalanceTypeCode.
062: */
063:
064: public String getFinancialBalanceTypeCode() {
065: return this .getCode();
066: }
067:
068: /**
069: * @param financialBalanceTypeCode The financialBalanceTypeCode to set.
070: */
071: public void setFinancialBalanceTypeCode(
072: String financialBalanceTypeCode) {
073: this .setCode(financialBalanceTypeCode);
074: }
075:
076: /**
077: * @return Returns the finBalanceTypeEncumIndicator.
078: */
079: public boolean isFinBalanceTypeEncumIndicator() {
080: return finBalanceTypeEncumIndicator;
081: }
082:
083: /**
084: * @param finBalanceTypeEncumIndicator The finBalanceTypeEncumIndicator to set.
085: */
086: public void setFinBalanceTypeEncumIndicator(
087: boolean finBalanceTypeEncumIndicator) {
088: this .finBalanceTypeEncumIndicator = finBalanceTypeEncumIndicator;
089: }
090:
091: /**
092: * @return Returns the financialBalanceTypeShortNm.
093: */
094:
095: public String getFinancialBalanceTypeShortNm() {
096: return financialBalanceTypeShortNm;
097: }
098:
099: /**
100: * @param financialBalanceTypeShortNm The financialBalanceTypeShortNm to set.
101: */
102: public void setFinancialBalanceTypeShortNm(
103: String financialBalanceTypeShortNm) {
104: this .financialBalanceTypeShortNm = financialBalanceTypeShortNm;
105: }
106:
107: /**
108: * @return Returns the financialOffsetGenerationIndicator.
109: */
110:
111: public boolean isFinancialOffsetGenerationIndicator() {
112: return financialOffsetGenerationIndicator;
113: }
114:
115: /**
116: * @param financialOffsetGenerationIndicator The financialOffsetGenerationIndicator to set.
117: */
118: public void setFinancialOffsetGenerationIndicator(
119: boolean financialOffsetGenerationIndicator) {
120: this.financialOffsetGenerationIndicator = financialOffsetGenerationIndicator;
121: }
122: }
|