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.module.bc.businessobject; 018 019 import java.util.LinkedHashMap; 020 021 import org.kuali.kfs.coa.businessobject.Account; 022 import org.kuali.kfs.coa.businessobject.Chart; 023 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 024 025 /** 026 * 027 */ 028 public class BudgetConstructionAppointmentFundingLoad02Move extends PersistableBusinessObjectBase { 029 030 private String chartOfAccountsCode; 031 private String accountNumber; 032 private String continuationFinChrtOfAcctCd; 033 private String continuationAccountNumber; 034 035 private Chart chartOfAccounts; 036 private Account account; 037 private Chart continuationChartOfAccount; 038 private Account continuationAccount; 039 040 /** 041 * Default no-arg constructor. 042 */ 043 public BudgetConstructionAppointmentFundingLoad02Move() { 044 045 } 046 047 /** 048 * @return Returns the chartOfAccountsCode. 049 */ 050 public String getChartOfAccountsCode() { 051 return chartOfAccountsCode; 052 } 053 054 055 /** 056 * @param chartOfAccountsCode The chartOfAccountsCode to set. 057 */ 058 public void setChartOfAccountsCode(String chartOfAccountsCode) { 059 this.chartOfAccountsCode = chartOfAccountsCode; 060 } 061 062 /** 063 * Gets the accountNumber attribute. 064 * 065 * @return Returns the accountNumber 066 */ 067 public String getAccountNumber() { 068 return accountNumber; 069 } 070 071 /** 072 * Sets the accountNumber attribute. 073 * 074 * @param accountNumber The accountNumber to set. 075 */ 076 public void setAccountNumber(String accountNumber) { 077 this.accountNumber = accountNumber; 078 } 079 080 /** 081 * @return Returns the continuationFinChrtOfAcctCd. 082 */ 083 public String getContinuationFinChrtOfAcctCd() { 084 return continuationFinChrtOfAcctCd; 085 } 086 087 /** 088 * @param continuationFinChrtOfAcctCd The continuationFinChrtOfAcctCd to set. 089 */ 090 public void setContinuationFinChrtOfAcctCd(String continuationFinChrtOfAcctCd) { 091 this.continuationFinChrtOfAcctCd = continuationFinChrtOfAcctCd; 092 } 093 094 /** 095 * @return Returns the continuationAccountNumber. 096 */ 097 public String getContinuationAccountNumber() { 098 return continuationAccountNumber; 099 } 100 101 /** 102 * @param continuationAccountNumber The continuationAccountNumber to set. 103 */ 104 public void setContinuationAccountNumber(String continuationAccountNumber) { 105 this.continuationAccountNumber = continuationAccountNumber; 106 } 107 108 /** 109 * Gets the chartOfAccounts attribute. 110 * 111 * @return Returns the chartOfAccounts 112 */ 113 public Chart getChartOfAccounts() { 114 return chartOfAccounts; 115 } 116 117 /** 118 * Sets the chartOfAccounts attribute. 119 * 120 * @param chartOfAccounts The chartOfAccounts to set. 121 * @deprecated 122 */ 123 public void setChartOfAccounts(Chart chartOfAccounts) { 124 this.chartOfAccounts = chartOfAccounts; 125 } 126 127 /** 128 * Gets the account attribute. 129 * 130 * @return Returns the account. 131 */ 132 public Account getAccount() { 133 return account; 134 } 135 136 /** 137 * Sets the account attribute value. 138 * 139 * @param account The account to set. 140 * @deprecated 141 */ 142 public void setAccount(Account account) { 143 this.account = account; 144 } 145 146 /** 147 * Gets the continuationChartOfAccount attribute. 148 * 149 * @return Returns the continuationChartOfAccount. 150 */ 151 public Chart getContinuationChartOfAccount() { 152 return continuationChartOfAccount; 153 } 154 155 /** 156 * Sets the continuationChartOfAccount attribute value. 157 * 158 * @param continuationChartOfAccount The continuationChartOfAccount to set. 159 * @deprecated 160 */ 161 public void setContinuationChartOfAccount(Chart continuationChartOfAccount) { 162 this.continuationChartOfAccount = continuationChartOfAccount; 163 } 164 165 /** 166 * @return Returns the continuationAccount. 167 */ 168 public Account getContinuationAccount() { 169 return continuationAccount; 170 } 171 172 /** 173 * @param continuationAccount The continuationAccount to set. 174 * @deprecated 175 */ 176 public void setContinuationAccount(Account continuationAccount) { 177 this.continuationAccount = continuationAccount; 178 } 179 180 /** 181 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 182 */ 183 protected LinkedHashMap toStringMapper() { 184 LinkedHashMap m = new LinkedHashMap(); 185 m.put("chartCode", this.chartOfAccountsCode); 186 m.put("accountNumber", this.accountNumber); 187 return m; 188 } 189 190 }