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.util.LinkedHashMap;
019
020 import org.kuali.kfs.module.endow.EndowPropertyConstants;
021 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
022 import org.kuali.rice.kns.util.KualiDecimal;
023 import org.kuali.rice.kns.util.KualiInteger;
024
025 public class KemidHistoricalCash extends PersistableBusinessObjectBase{
026 private String kemid;
027 private KualiInteger monthEndDateId;
028 private KualiDecimal historicalIncomeCash;
029 private KualiDecimal historicalPrincipalCash;
030
031 private KEMID kemidObjRef;
032 private MonthEndDate monthEndDate;
033 /**
034 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
035 */
036 @Override
037 protected LinkedHashMap toStringMapper() {
038 LinkedHashMap m = new LinkedHashMap();
039 m.put(EndowPropertyConstants.KEMID, this.kemid);
040 m.put(EndowPropertyConstants.MONTH_END_DATE_ID, this.monthEndDateId);
041 return m;
042 }
043
044 /**
045 * Gets the historicalIncomeCash.
046 *
047 * @return historicalIncomeCash
048 */
049 public KualiDecimal getHistoricalIncomeCash() {
050 return historicalIncomeCash;
051 }
052
053 /**
054 * Sets the historicalIncomeCash.
055 *
056 * @param historicalIncomeCash
057 */
058 public void setHistoricalIncomeCash(KualiDecimal historicalIncomeCash) {
059 this.historicalIncomeCash = historicalIncomeCash;
060 }
061
062 /**
063 * Gets the historicalPrincipalCash.
064 *
065 * @return historicalPrincipalCash
066 */
067 public KualiDecimal getHistoricalPrincipalCash() {
068 return historicalPrincipalCash;
069 }
070
071 /**
072 * Sets the historicalPrincipalCash.
073 *
074 * @param historicalPrincipalCash
075 */
076 public void setHistoricalPrincipalCash(KualiDecimal historicalPrincipalCash) {
077 this.historicalPrincipalCash = historicalPrincipalCash;
078 }
079
080 /**
081 * Gets the kemid.
082 *
083 * @return kemid
084 */
085 public String getKemid() {
086 return kemid;
087 }
088
089 /**
090 * Sets the kemid.
091 *
092 * @param kemid
093 */
094 public void setKemid(String kemid) {
095 this.kemid = kemid;
096 }
097
098 /**
099 * Gets the monthEndDateId.
100 *
101 * @return monthEndDateId
102 */
103 public KualiInteger getMonthEndDateId() {
104 return monthEndDateId;
105 }
106
107 /**
108 * Sets the monthEndDateId.
109 *
110 * @param monthEndDateId
111 */
112 public void setMonthEndDateId(KualiInteger monthEndDateId) {
113 this.monthEndDateId = monthEndDateId;
114 }
115
116 /**
117 * Gets the kemidObjRef.
118 *
119 * @return kemidObjRef
120 */
121 public KEMID getKemidObjRef() {
122 return kemidObjRef;
123 }
124
125 /**
126 * Sets the kemidObjRef.
127 *
128 * @param kemidObjRef
129 */
130 public void setKemidObjRef(KEMID kemidObjRef) {
131 this.kemidObjRef = kemidObjRef;
132 }
133
134 /**
135 * Gets the monthEndDate.
136 *
137 * @return monthEndDate
138 */
139 public MonthEndDate getMonthEndDate() {
140 return monthEndDate;
141 }
142
143 /**
144 * Sets the monthEndDate.
145 *
146 * @param monthEndDate
147 */
148 public void setMonthEndDate(MonthEndDate monthEndDate) {
149 this.monthEndDate = monthEndDate;
150 }
151
152 }