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.rice.kns.bo.TransientBusinessObjectBase;
021    import org.kuali.rice.kns.util.KualiDecimal;
022    
023    public class TransactioneDocPostingDocumentTotalReportLine extends TransientBusinessObjectBase {
024    
025        private String documentNumber;
026        private String documentName;
027        
028        private KualiDecimal totalPrincipleCash;
029        private KualiDecimal totalHoldingCost;
030        private KualiDecimal totalIncomeCash;
031        private KualiDecimal totalUnits;
032        
033        /**
034         * 
035         * Constructs a TransactioneDocPostingDocumentTotalReportLine.java.
036         */
037        public TransactioneDocPostingDocumentTotalReportLine() {
038            this.totalPrincipleCash = KualiDecimal.ZERO;
039            this.totalHoldingCost   = KualiDecimal.ZERO;
040            this.totalIncomeCash    = KualiDecimal.ZERO;
041            this.totalUnits         = KualiDecimal.ZERO;
042        }
043        
044        /**
045         * Gets the documentNumber attribute. 
046         * @return Returns the documentNumber.
047         */
048        public String getDocumentNumber() {
049            return documentNumber;
050        }
051    
052        /**
053         * Sets the documentNumber attribute value.
054         * @param documentNumber The documentNumber to set.
055         */
056        public void setDocumentNumber(String documentNumber) {
057            this.documentNumber = documentNumber;
058        }
059    
060        /**
061         * Gets the documentName attribute. 
062         * @return Returns the documentName.
063         */
064        public String getDocumentName() {
065            return documentName;
066        }
067    
068        /**
069         * Sets the documentName attribute value.
070         * @param documentName The documentName to set.
071         */
072        public void setDocumentName(String documentName) {
073            this.documentName = documentName;
074        }
075    
076        /**
077         * Gets the totalPrincipleCash attribute. 
078         * @return Returns the totalPrincipleCash.
079         */
080        public KualiDecimal getTotalPrincipleCash() {
081            return totalPrincipleCash;
082        }
083    
084        /**
085         * Sets the totalPrincipleCash attribute value.
086         * @param totalPrincipleCash The totalPrincipleCash to set.
087         */
088        public void setTotalPrincipleCash(KualiDecimal totalPrincipleCash) {
089            this.totalPrincipleCash = totalPrincipleCash;
090        }
091    
092        /**
093         * Gets the totalHoldingCost attribute. 
094         * @return Returns the totalHoldingCost.
095         */
096        public KualiDecimal getTotalHoldingCost() {
097            return totalHoldingCost;
098        }
099    
100        /**
101         * Sets the totalHoldingCost attribute value.
102         * @param totalHoldingCost The totalHoldingCost to set.
103         */
104        public void setTotalHoldingCost(KualiDecimal totalHoldingCost) {
105            this.totalHoldingCost = totalHoldingCost;
106        }
107    
108        /**
109         * Gets the totalIncomeCash attribute. 
110         * @return Returns the totalIncomeCash.
111         */
112        public KualiDecimal getTotalIncomeCash() {
113            return totalIncomeCash;
114        }
115    
116        /**
117         * Sets the totalIncomeCash attribute value.
118         * @param totalIncomeCash The totalIncomeCash to set.
119         */
120        public void setTotalIncomeCash(KualiDecimal totalIncomeCash) {
121            this.totalIncomeCash = totalIncomeCash;
122        }
123    
124        /**
125         * Gets the totalUnits attribute. 
126         * @return Returns the totalUnits.
127         */
128        public KualiDecimal getTotalUnits() {
129            return totalUnits;
130        }
131    
132        /**
133         * Sets the totalUnits attribute value.
134         * @param totalUnits The totalUnits to set.
135         */
136        public void setTotalUnits(KualiDecimal totalUnits) {
137            this.totalUnits = totalUnits;
138        }
139    
140        @Override
141        protected LinkedHashMap<Object, Object> toStringMapper() {
142            return new LinkedHashMap<Object, Object>();
143        }
144        
145    }