001/* 002 * Copyright 2005-2006 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 */ 016package org.kuali.ole.coa.businessobject; 017 018import java.util.LinkedHashMap; 019 020import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 021 022 023/** 024 * Account Guideline Business Object 025 */ 026public class AccountGuideline extends PersistableBusinessObjectBase { 027 private static final long serialVersionUID = 807136405105252199L; 028 private String chartOfAccountsCode; 029 private String accountNumber; 030 private String accountExpenseGuidelineText; 031 private String accountIncomeGuidelineText; 032 private String accountPurposeText; 033 034 035 /** 036 * @return Returns the accountExpenseGuidelineText. 037 */ 038 public String getAccountExpenseGuidelineText() { 039 return accountExpenseGuidelineText; 040 } 041 042 /** 043 * @param accountExpenseGuidelineText The accountExpenseGuidelineText to set. 044 */ 045 public void setAccountExpenseGuidelineText(String accountExpenseGuidelineText) { 046 this.accountExpenseGuidelineText = accountExpenseGuidelineText; 047 } 048 049 /** 050 * @return Returns the accountIncomeGuidelineText. 051 */ 052 public String getAccountIncomeGuidelineText() { 053 return accountIncomeGuidelineText; 054 } 055 056 /** 057 * @param accountIncomeGuidelineText The accountIncomeGuidelineText to set. 058 */ 059 public void setAccountIncomeGuidelineText(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.rice.krad.bo.BusinessObjectBase#toStringMapper() 107 */ 108 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { 109 LinkedHashMap m = new LinkedHashMap(); 110 111 m.put("chartOfAccountsCode", this.chartOfAccountsCode); 112 m.put("accountNumber", this.accountNumber); 113 114 return m; 115 } 116}