001/* 002 * Copyright 2012 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 */ 016package org.kuali.ole.select.businessobject; 017 018import org.kuali.ole.coa.businessobject.Account; 019import org.kuali.rice.core.api.mo.common.active.MutableInactivatable; 020import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 021 022import java.util.LinkedHashMap; 023 024public class OleLegacyFundCode extends PersistableBusinessObjectBase implements MutableInactivatable { 025 026 private Integer legacyFundCodeIdentifier; 027 private String accountNumber; 028 private String chartOfAccountsCode; 029 private String legacyFundCode; 030 private String legacyFundCodeNote; 031 032 private Account account; 033 034 private boolean active; 035 036 037 public Integer getLegacyFundCodeIdentifier() { 038 return legacyFundCodeIdentifier; 039 } 040 041 public void setLegacyFundCodeIdentifier(Integer legacyFundCodeIdentifier) { 042 this.legacyFundCodeIdentifier = legacyFundCodeIdentifier; 043 } 044 045 public String getAccountNumber() { 046 return accountNumber; 047 } 048 049 public void setAccountNumber(String accountNumber) { 050 this.accountNumber = accountNumber; 051 } 052 053 054 public String getChartOfAccountsCode() { 055 return chartOfAccountsCode; 056 } 057 058 public void setChartOfAccountsCode(String chartOfAccountsCode) { 059 this.chartOfAccountsCode = chartOfAccountsCode; 060 } 061 062 public String getLegacyFundCode() { 063 return legacyFundCode; 064 } 065 066 public void setLegacyFundCode(String legacyFundCode) { 067 this.legacyFundCode = legacyFundCode; 068 } 069 070 public String getLegacyFundCodeNote() { 071 return legacyFundCodeNote; 072 } 073 074 public void setLegacyFundCodeNote(String legacyFundCodeNote) { 075 this.legacyFundCodeNote = legacyFundCodeNote; 076 } 077 078 public Account getAccount() { 079 return account; 080 } 081 082 public void setAccount(Account account) { 083 this.account = account; 084 } 085 086 public boolean isActive() { 087 return active; 088 } 089 090 public void setActive(boolean active) { 091 this.active = active; 092 } 093 094 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { 095 LinkedHashMap m = new LinkedHashMap(); 096 m.put("legacyFundCodeIdentifier", legacyFundCodeIdentifier); 097 return m; 098 } 099 100}