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.util.LinkedHashMap;
020    
021    import org.kuali.kfs.module.endow.EndowPropertyConstants;
022    import org.kuali.rice.kns.util.KualiInteger;
023    
024    public class HoldingHistory extends HoldingTaxLot {
025    
026        private KualiInteger monthEndDateId;
027        private BigDecimal estimatedIncome;
028        private BigDecimal securityUnitVal;
029        private BigDecimal marketValue;
030        private BigDecimal averageMarketValue;
031        private BigDecimal remainderOfFYEstimatedIncome;
032        private BigDecimal nextFYEstimatedIncome;
033    
034        private MonthEndDate monthEndDate;
035    
036    
037        /**
038         * @see org.kuali.kfs.module.endow.businessobject.HoldingTaxLot#toStringMapper()
039         */
040        @Override
041        protected LinkedHashMap toStringMapper() {
042            LinkedHashMap m = new LinkedHashMap();
043            m = super.toStringMapper();
044            m.put(EndowPropertyConstants.HOLDING_HISTORY_MONTH_END_DATE_ID, this.monthEndDateId);
045            return m;
046        }
047    
048    
049        /**
050         * Gets the estimatedIncome.
051         * 
052         * @return estimatedIncome
053         */
054        public BigDecimal getEstimatedIncome() {
055            return estimatedIncome;
056        }
057    
058    
059        /**
060         * Sets the estimatedIncome.
061         * 
062         * @param estimatedIncome
063         */
064        public void setEstimatedIncome(BigDecimal estimatedIncome) {
065            this.estimatedIncome = estimatedIncome;
066        }
067    
068    
069        /**
070         * @see org.kuali.kfs.module.endow.businessobject.HoldingTaxLot#getMarketValue()
071         */
072        @Override
073        public BigDecimal getMarketValue() {
074            return marketValue;
075        }
076    
077    
078        /**
079         * Sets the marketValue.
080         * 
081         * @param marketValue
082         */
083        public void setMarketValue(BigDecimal marketValue) {
084            this.marketValue = marketValue;
085        }
086    
087    
088        /**
089         * Gets the monthEndDateId.
090         * 
091         * @return monthEndDateId
092         */
093        public KualiInteger getMonthEndDateId() {
094            return monthEndDateId;
095        }
096    
097    
098        /**
099         * Sets the monthEndDateId.
100         * 
101         * @param monthEndDateId
102         */
103        public void setMonthEndDateId(KualiInteger monthEndDateId) {
104            this.monthEndDateId = monthEndDateId;
105        }
106    
107    
108        /**
109         * Gets the averageMarketValue.
110         * 
111         * @return averageMarketValue
112         */
113        public BigDecimal getAverageMarketValue() {
114            return averageMarketValue;
115        }
116    
117    
118        /**
119         * Sets the averageMarketValue.
120         * 
121         * @param averageMarketValue
122         */
123        public void setAverageMarketValue(BigDecimal quarterAverageMarketValue) {
124            this.averageMarketValue = quarterAverageMarketValue;
125        }
126    
127    
128        /**
129         * Gets the securityUnitVal.
130         * 
131         * @return securityUnitVal
132         */
133        public BigDecimal getSecurityUnitVal() {
134            return securityUnitVal;
135        }
136    
137    
138        /**
139         * Sets the securityUnitVal.
140         * 
141         * @param securityUnitVal
142         */
143        public void setSecurityUnitVal(BigDecimal securityUnitVal) {
144            this.securityUnitVal = securityUnitVal;
145        }
146    
147    
148        /**
149         * Gets the monthEndDate.
150         * 
151         * @return monthEndDate
152         */
153        public MonthEndDate getMonthEndDate() {
154            return monthEndDate;
155        }
156    
157    
158        /**
159         * Sets the monthEndDate.
160         * 
161         * @param monthEndDate
162         */
163        public void setMonthEndDate(MonthEndDate monthEndDate) {
164            this.monthEndDate = monthEndDate;
165        }
166    
167    
168        /**
169         * Gets the nextFYEstimatedIncome.
170         * 
171         * @return nextFYEstimatedIncome
172         */
173        public BigDecimal getNextFYEstimatedIncome() {
174            return nextFYEstimatedIncome;
175        }
176    
177    
178        /**
179         * Sets the nextFYEstimatedIncome.
180         * 
181         * @param nextFYEstimatedIncome
182         */
183        public void setNextFYEstimatedIncome(BigDecimal nextFYEstimatedIncome) {
184            this.nextFYEstimatedIncome = nextFYEstimatedIncome;
185        }
186    
187    
188        /**
189         * Gets the remainderOfFYEstimatedIncome.
190         * 
191         * @return remainderOfFYEstimatedIncome
192         */
193        public BigDecimal getRemainderOfFYEstimatedIncome() {
194            return remainderOfFYEstimatedIncome;
195        }
196    
197    
198        /**
199         * Sets the remainderOfFYEstimatedIncome.
200         * 
201         * @param remainderOfFYEstimatedIncome
202         */
203        public void setRemainderOfFYEstimatedIncome(BigDecimal remainderOfFYEstimatedIncome) {
204            this.remainderOfFYEstimatedIncome = remainderOfFYEstimatedIncome;
205        }
206    
207    }