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 package org.kuali.kfs.module.endow.businessobject; 017 018 import java.math.BigDecimal; 019 import java.sql.Date; 020 import java.util.LinkedHashMap; 021 022 import org.kuali.kfs.module.endow.EndowPropertyConstants; 023 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 024 import org.kuali.rice.kns.util.KualiInteger; 025 026 public class KEMIDHistoricalBalance extends PersistableBusinessObjectBase { 027 028 private String kemid; 029 private KualiInteger historyBalanceDateId; 030 private BigDecimal incomeAtMarket; 031 private BigDecimal principalAtMarket; 032 private BigDecimal totalMarketValue; 033 private BigDecimal annualEstimatedIncome; // next 12 months estimated income 034 private BigDecimal remainderOfFYEstimatedIncome; 035 private BigDecimal nextFYEstimatedIncome; 036 037 private KEMID kemidObj; 038 private MonthEndDate historyBalanceDate; 039 040 /** 041 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 042 */ 043 @Override 044 protected LinkedHashMap toStringMapper() { 045 LinkedHashMap m = new LinkedHashMap(); 046 m.put(EndowPropertyConstants.KEMID, this.kemid); 047 return m; 048 } 049 050 /** 051 * Gets the annualEstimatedIncome. 052 * 053 * @return annualEstimatedIncome 054 */ 055 public BigDecimal getAnnualEstimatedIncome() { 056 return annualEstimatedIncome; 057 } 058 059 /** 060 * Sets the annualEstimatedIncome. 061 * 062 * @param annualEstimatedIncome 063 */ 064 public void setAnnualEstimatedIncome(BigDecimal annualEstimatedIncome) { 065 this.annualEstimatedIncome = annualEstimatedIncome; 066 } 067 068 /** 069 * Gets the historyBalanceDate. 070 * 071 * @return historyBalanceDate 072 */ 073 public MonthEndDate getHistoryBalanceDate() { 074 return historyBalanceDate; 075 } 076 077 /** 078 * Sets the historyBalanceDate. 079 * 080 * @param historyBalanceDate 081 */ 082 public void setHistoryBalanceDate(MonthEndDate historyBalanceDate) { 083 this.historyBalanceDate = historyBalanceDate; 084 } 085 086 /** 087 * Gets the historyBalanceDateId. 088 * 089 * @return historyBalanceDateId 090 */ 091 public KualiInteger getHistoryBalanceDateId() { 092 return historyBalanceDateId; 093 } 094 095 /** 096 * Sets the historyBalanceDateId. 097 * 098 * @param historyBalanceDateId 099 */ 100 public void setHistoryBalanceDateId(KualiInteger historyBalanceDateId) { 101 this.historyBalanceDateId = historyBalanceDateId; 102 } 103 104 /** 105 * Gets the incomeAtMarket. 106 * 107 * @return incomeAtMarket 108 */ 109 public BigDecimal getIncomeAtMarket() { 110 return incomeAtMarket; 111 } 112 113 /** 114 * Sets the incomeAtMarket. 115 * 116 * @param incomeAtMarket 117 */ 118 public void setIncomeAtMarket(BigDecimal incomeAtMarket) { 119 this.incomeAtMarket = incomeAtMarket; 120 } 121 122 /** 123 * Gets the kemid. 124 * 125 * @return kemid 126 */ 127 public String getKemid() { 128 return kemid; 129 } 130 131 /** 132 * Sets the kemid. 133 * 134 * @param kemid 135 */ 136 public void setKemid(String kemid) { 137 this.kemid = kemid; 138 } 139 140 /** 141 * Gets the kemidObj. 142 * 143 * @return kemidObj 144 */ 145 public KEMID getKemidObj() { 146 return kemidObj; 147 } 148 149 /** 150 * Sets the kemidObj. 151 * 152 * @param kemidObj 153 */ 154 public void setKemidObj(KEMID kemidObj) { 155 this.kemidObj = kemidObj; 156 } 157 158 /** 159 * Gets the nextFYEstimatedIncome. 160 * 161 * @return nextFYEstimatedIncome 162 */ 163 public BigDecimal getNextFYEstimatedIncome() { 164 return nextFYEstimatedIncome; 165 } 166 167 /** 168 * Sets the nextFYEstimatedIncome. 169 * 170 * @param nextFYEstimatedIncome 171 */ 172 public void setNextFYEstimatedIncome(BigDecimal nextFYEstimatedIncome) { 173 this.nextFYEstimatedIncome = nextFYEstimatedIncome; 174 } 175 176 /** 177 * Gets the principalAtMarket. 178 * 179 * @return principalAtMarket 180 */ 181 public BigDecimal getPrincipalAtMarket() { 182 return principalAtMarket; 183 } 184 185 /** 186 * Sets the principalAtMarket. 187 * 188 * @param principalAtMarket 189 */ 190 public void setPrincipalAtMarket(BigDecimal principalAtMarket) { 191 this.principalAtMarket = principalAtMarket; 192 } 193 194 /** 195 * Gets the remainderOfFYEstimatedIncome. 196 * 197 * @return remainderOfFYEstimatedIncome 198 */ 199 public BigDecimal getRemainderOfFYEstimatedIncome() { 200 return remainderOfFYEstimatedIncome; 201 } 202 203 /** 204 * Sets the remainderOfFYEstimatedIncome. 205 * 206 * @param remainderOfFYEstimatedIncome 207 */ 208 public void setRemainderOfFYEstimatedIncome(BigDecimal remainderFYEstimatedIncome) { 209 this.remainderOfFYEstimatedIncome = remainderFYEstimatedIncome; 210 } 211 212 /** 213 * Gets the totalMarketValue. 214 * 215 * @return totalMarketValue 216 */ 217 public BigDecimal getTotalMarketValue() { 218 return totalMarketValue; 219 } 220 221 /** 222 * Sets the totalMarketValue. 223 * 224 * @param totalMarketValue 225 */ 226 public void setTotalMarketValue(BigDecimal totalMarketValue) { 227 this.totalMarketValue = totalMarketValue; 228 } 229 230 }