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;
017:
018: import java.util.LinkedHashMap;
019:
020: import org.kuali.core.bo.PersistableBusinessObjectBase;
021:
022: /**
023: * Account Guideline Business Object
024: */
025: public class AccountGuideline extends PersistableBusinessObjectBase {
026: private static final long serialVersionUID = 807136405105252199L;
027: private String chartOfAccountsCode;
028: private String accountNumber;
029: private String accountExpenseGuidelineText;
030: private String accountIncomeGuidelineText;
031: private String accountPurposeText;
032:
033: /**
034: * @return Returns the accountExpenseGuidelineText.
035: */
036: public String getAccountExpenseGuidelineText() {
037: return accountExpenseGuidelineText;
038: }
039:
040: /**
041: * @param accountExpenseGuidelineText The accountExpenseGuidelineText to set.
042: */
043: public void setAccountExpenseGuidelineText(
044: String accountExpenseGuidelineText) {
045: this .accountExpenseGuidelineText = accountExpenseGuidelineText;
046: }
047:
048: /**
049: * @return Returns the accountIncomeGuidelineText.
050: */
051: public String getAccountIncomeGuidelineText() {
052: return accountIncomeGuidelineText;
053: }
054:
055: /**
056: * @param accountIncomeGuidelineText The accountIncomeGuidelineText to set.
057: */
058: public void setAccountIncomeGuidelineText(
059: String accountIncomeGuidelineText) {
060: this .accountIncomeGuidelineText = accountIncomeGuidelineText;
061: }
062:
063: /**
064: * @return Returns the accountNbr.
065: */
066: public String getAccountNumber() {
067: return accountNumber;
068: }
069:
070: /**
071: * @param accountNbr The accountNbr to set.
072: */
073: public void setAccountNumber(String accountNbr) {
074: this .accountNumber = accountNbr;
075: }
076:
077: /**
078: * @return Returns the accountPurposeText.
079: */
080: public String getAccountPurposeText() {
081: return accountPurposeText;
082: }
083:
084: /**
085: * @param accountPurposeText The accountPurposeText to set.
086: */
087: public void setAccountPurposeText(String accountPurposeText) {
088: this .accountPurposeText = accountPurposeText;
089: }
090:
091: /**
092: * @return Returns the chartOfAccountsCode.
093: */
094: public String getChartOfAccountsCode() {
095: return chartOfAccountsCode;
096: }
097:
098: /**
099: * @param chartOfAccountsCode The chartOfAccountsCode to set.
100: */
101: public void setChartOfAccountsCode(String chartOfAccountsCode) {
102: this .chartOfAccountsCode = chartOfAccountsCode;
103: }
104:
105: /**
106: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
107: */
108: protected LinkedHashMap toStringMapper() {
109: LinkedHashMap m = new LinkedHashMap();
110:
111: m.put("chartOfAccountsCode", this .chartOfAccountsCode);
112: m.put("accountNumber", this.accountNumber);
113:
114: return m;
115: }
116: }
|