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.cam.batch;
017    
018    import java.sql.Date;
019    
020    import org.kuali.rice.kns.util.KualiDecimal;
021    
022    /**
023     * Value Object (not OJB aware) class to bring information required by Depreciation Job this avoid unnecessary calls to DB for
024     * reference information required by the processing and eases the use of memory and DB calls by OJB
025     */
026    public class AssetPaymentInfo {
027        private Long capitalAssetNumber;
028        private Integer paymentSequenceNumber;
029        private Date depreciationDate;
030        private Integer depreciableLifeLimit;
031        private String organizationPlantAccountNumber;
032        private String organizationPlantChartCode;
033        private String campusPlantChartCode;
034        private String campusPlantAccountNumber;
035        private String financialObjectTypeCode;
036        private String financialObjectSubTypeCode;
037        private String primaryDepreciationMethodCode;
038        private KualiDecimal salvageAmount;
039    
040        private KualiDecimal primaryDepreciationBaseAmount;
041        private String financialObjectCode;
042        private KualiDecimal accumulatedPrimaryDepreciationAmount;
043        private String subAccountNumber;
044        private String financialSubObjectCode;
045        private String projectCode;
046        private String chartOfAccountsCode;
047    
048        private KualiDecimal transactionAmount;
049    
050    
051        /**
052         * Gets the capitalAssetNumber attribute.
053         * 
054         * @return Returns the capitalAssetNumber.
055         */
056        public Long getCapitalAssetNumber() {
057            return capitalAssetNumber;
058        }
059    
060        /**
061         * Sets the capitalAssetNumber attribute value.
062         * 
063         * @param capitalAssetNumber The capitalAssetNumber to set.
064         */
065        public void setCapitalAssetNumber(Long capitalAssetNumber) {
066            this.capitalAssetNumber = capitalAssetNumber;
067        }
068    
069        /**
070         * Gets the paymentSequenceNumber attribute.
071         * 
072         * @return Returns the paymentSequenceNumber.
073         */
074        public Integer getPaymentSequenceNumber() {
075            return paymentSequenceNumber;
076        }
077    
078        /**
079         * Sets the paymentSequenceNumber attribute value.
080         * 
081         * @param paymentSequenceNumber The paymentSequenceNumber to set.
082         */
083        public void setPaymentSequenceNumber(Integer paymentSequenceNumber) {
084            this.paymentSequenceNumber = paymentSequenceNumber;
085        }
086    
087        /**
088         * Gets the depreciationDate attribute.
089         * 
090         * @return Returns the depreciationDate.
091         */
092        public Date getDepreciationDate() {
093            return depreciationDate;
094        }
095    
096        /**
097         * Sets the depreciationDate attribute value.
098         * 
099         * @param depreciationDate The depreciationDate to set.
100         */
101        public void setDepreciationDate(Date depreciationDate) {
102            this.depreciationDate = depreciationDate;
103        }
104    
105        /**
106         * Gets the depreciableLifeLimit attribute.
107         * 
108         * @return Returns the depreciableLifeLimit.
109         */
110        public Integer getDepreciableLifeLimit() {
111            return depreciableLifeLimit;
112        }
113    
114        /**
115         * Sets the depreciableLifeLimit attribute value.
116         * 
117         * @param depreciableLifeLimit The depreciableLifeLimit to set.
118         */
119        public void setDepreciableLifeLimit(Integer depreciableLifeLimit) {
120            this.depreciableLifeLimit = depreciableLifeLimit;
121        }
122    
123        /**
124         * Gets the organizationPlantAccountNumber attribute.
125         * 
126         * @return Returns the organizationPlantAccountNumber.
127         */
128        public String getOrganizationPlantAccountNumber() {
129            return organizationPlantAccountNumber;
130        }
131    
132        /**
133         * Sets the organizationPlantAccountNumber attribute value.
134         * 
135         * @param organizationPlantAccountNumber The organizationPlantAccountNumber to set.
136         */
137        public void setOrganizationPlantAccountNumber(String organizationPlantAccountNumber) {
138            this.organizationPlantAccountNumber = organizationPlantAccountNumber;
139        }
140    
141        /**
142         * Gets the organizationPlantChartCode attribute.
143         * 
144         * @return Returns the organizationPlantChartCode.
145         */
146        public String getOrganizationPlantChartCode() {
147            return organizationPlantChartCode;
148        }
149    
150        /**
151         * Sets the organizationPlantChartCode attribute value.
152         * 
153         * @param organizationPlantChartCode The organizationPlantChartCode to set.
154         */
155        public void setOrganizationPlantChartCode(String organizationPlantChartCode) {
156            this.organizationPlantChartCode = organizationPlantChartCode;
157        }
158    
159        /**
160         * Gets the primaryDepreciationMethodCode attribute.
161         * 
162         * @return Returns the primaryDepreciationMethodCode.
163         */
164        public String getPrimaryDepreciationMethodCode() {
165            return primaryDepreciationMethodCode;
166        }
167    
168        /**
169         * Sets the primaryDepreciationMethodCode attribute value.
170         * 
171         * @param primaryDepreciationMethodCode The primaryDepreciationMethodCode to set.
172         */
173        public void setPrimaryDepreciationMethodCode(String primaryDepreciationMethodCode) {
174            this.primaryDepreciationMethodCode = primaryDepreciationMethodCode;
175        }
176    
177        /**
178         * Gets the salvageAmount attribute.
179         * 
180         * @return Returns the salvageAmount.
181         */
182        public KualiDecimal getSalvageAmount() {
183            return salvageAmount;
184        }
185    
186        /**
187         * Sets the salvageAmount attribute value.
188         * 
189         * @param salvageAmount The salvageAmount to set.
190         */
191        public void setSalvageAmount(KualiDecimal salvageAmount) {
192            this.salvageAmount = salvageAmount;
193        }
194    
195        /**
196         * Gets the campusPlantChartCode attribute.
197         * 
198         * @return Returns the campusPlantChartCode.
199         */
200        public String getCampusPlantChartCode() {
201            return campusPlantChartCode;
202        }
203    
204        /**
205         * Sets the campusPlantChartCode attribute value.
206         * 
207         * @param campusPlantChartCode The campusPlantChartCode to set.
208         */
209        public void setCampusPlantChartCode(String campusPlantChartCode) {
210            this.campusPlantChartCode = campusPlantChartCode;
211        }
212    
213        /**
214         * Gets the campusPlantAccountNumber attribute.
215         * 
216         * @return Returns the campusPlantAccountNumber.
217         */
218        public String getCampusPlantAccountNumber() {
219            return campusPlantAccountNumber;
220        }
221    
222        /**
223         * Sets the campusPlantAccountNumber attribute value.
224         * 
225         * @param campusPlantAccountNumber The campusPlantAccountNumber to set.
226         */
227        public void setCampusPlantAccountNumber(String campusPlantAccountNumber) {
228            this.campusPlantAccountNumber = campusPlantAccountNumber;
229        }
230    
231        /**
232         * Gets the financialObjectSubTypeCode attribute.
233         * 
234         * @return Returns the financialObjectSubTypeCode.
235         */
236        public String getFinancialObjectSubTypeCode() {
237            return financialObjectSubTypeCode;
238        }
239    
240        /**
241         * Sets the financialObjectSubTypeCode attribute value.
242         * 
243         * @param financialObjectSubTypeCode The financialObjectSubTypeCode to set.
244         */
245        public void setFinancialObjectSubTypeCode(String financialObjectSubTypeCode) {
246            this.financialObjectSubTypeCode = financialObjectSubTypeCode;
247        }
248    
249        /**
250         * Gets the financialObjectTypeCode attribute.
251         * 
252         * @return Returns the financialObjectTypeCode.
253         */
254        public String getFinancialObjectTypeCode() {
255            return financialObjectTypeCode;
256        }
257    
258        /**
259         * Sets the financialObjectTypeCode attribute value.
260         * 
261         * @param financialObjectTypeCode The financialObjectTypeCode to set.
262         */
263        public void setFinancialObjectTypeCode(String financialObjectTypeCode) {
264            this.financialObjectTypeCode = financialObjectTypeCode;
265        }
266    
267        /**
268         * Gets the primaryDepreciationBaseAmount attribute.
269         * 
270         * @return Returns the primaryDepreciationBaseAmount.
271         */
272        public KualiDecimal getPrimaryDepreciationBaseAmount() {
273            return primaryDepreciationBaseAmount;
274        }
275    
276        /**
277         * Sets the primaryDepreciationBaseAmount attribute value.
278         * 
279         * @param primaryDepreciationBaseAmount The primaryDepreciationBaseAmount to set.
280         */
281        public void setPrimaryDepreciationBaseAmount(KualiDecimal primaryDepreciationBaseAmount) {
282            this.primaryDepreciationBaseAmount = primaryDepreciationBaseAmount;
283        }
284    
285        /**
286         * Gets the financialObjectCode attribute.
287         * 
288         * @return Returns the financialObjectCode.
289         */
290        public String getFinancialObjectCode() {
291            return financialObjectCode;
292        }
293    
294        /**
295         * Sets the financialObjectCode attribute value.
296         * 
297         * @param financialObjectCode The financialObjectCode to set.
298         */
299        public void setFinancialObjectCode(String financialObjectCode) {
300            this.financialObjectCode = financialObjectCode;
301        }
302    
303        /**
304         * Gets the accumulatedPrimaryDepreciationAmount attribute.
305         * 
306         * @return Returns the accumulatedPrimaryDepreciationAmount.
307         */
308        public KualiDecimal getAccumulatedPrimaryDepreciationAmount() {
309            return accumulatedPrimaryDepreciationAmount;
310        }
311    
312        /**
313         * Sets the accumulatedPrimaryDepreciationAmount attribute value.
314         * 
315         * @param accumulatedPrimaryDepreciationAmount The accumulatedPrimaryDepreciationAmount to set.
316         */
317        public void setAccumulatedPrimaryDepreciationAmount(KualiDecimal accumulatedPrimaryDepreciationAmount) {
318            this.accumulatedPrimaryDepreciationAmount = accumulatedPrimaryDepreciationAmount;
319        }
320    
321        /**
322         * Gets the subAccountNumber attribute.
323         * 
324         * @return Returns the subAccountNumber.
325         */
326        public String getSubAccountNumber() {
327            return subAccountNumber;
328        }
329    
330        /**
331         * Sets the subAccountNumber attribute value.
332         * 
333         * @param subAccountNumber The subAccountNumber to set.
334         */
335        public void setSubAccountNumber(String subAccountNumber) {
336            this.subAccountNumber = subAccountNumber;
337        }
338    
339        /**
340         * Gets the financialSubObjectCode attribute.
341         * 
342         * @return Returns the financialSubObjectCode.
343         */
344        public String getFinancialSubObjectCode() {
345            return financialSubObjectCode;
346        }
347    
348        /**
349         * Sets the financialSubObjectCode attribute value.
350         * 
351         * @param financialSubObjectCode The financialSubObjectCode to set.
352         */
353        public void setFinancialSubObjectCode(String financialSubObjectCode) {
354            this.financialSubObjectCode = financialSubObjectCode;
355        }
356    
357        /**
358         * Gets the projectCode attribute.
359         * 
360         * @return Returns the projectCode.
361         */
362        public String getProjectCode() {
363            return projectCode;
364        }
365    
366        /**
367         * Sets the projectCode attribute value.
368         * 
369         * @param projectCode The projectCode to set.
370         */
371        public void setProjectCode(String projectCode) {
372            this.projectCode = projectCode;
373        }
374    
375        /**
376         * Gets the transactionAmount attribute.
377         * 
378         * @return Returns the transactionAmount.
379         */
380        public KualiDecimal getTransactionAmount() {
381            return transactionAmount;
382        }
383    
384        /**
385         * Sets the transactionAmount attribute value.
386         * 
387         * @param transactionAmount The transactionAmount to set.
388         */
389        public void setTransactionAmount(KualiDecimal transactionAmount) {
390            this.transactionAmount = transactionAmount;
391        }
392    
393        /**
394         * Gets the chartOfAccountsCode attribute.
395         * 
396         * @return Returns the chartOfAccountsCode.
397         */
398        public String getChartOfAccountsCode() {
399            return chartOfAccountsCode;
400        }
401    
402        /**
403         * Sets the chartOfAccountsCode attribute value.
404         * 
405         * @param chartOfAccountsCode The chartOfAccountsCode to set.
406         */
407        public void setChartOfAccountsCode(String chartOfAccountsCode) {
408            this.chartOfAccountsCode = chartOfAccountsCode;
409        }
410    
411    
412    }