View Javadoc
1   /*
2    * Copyright 2005-2014 The Kuali Foundation.
3    * 
4    * Licensed under the Educational Community License, Version 1.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl1.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.coeus.s2sgen.impl.budget;
17  
18  import org.kuali.coeus.sys.api.model.ScaleTwoDecimal;
19  
20  import java.util.ArrayList;
21  import java.util.List;
22  
23  public class EquipmentDto {
24  
25      private List<CostDto> cvEquipmentList;
26      private ScaleTwoDecimal totalFund;
27      private List<CostDto> cvExtraEquipmentList;
28      private ScaleTwoDecimal totalExtraFund = ScaleTwoDecimal.ZERO;
29      private ScaleTwoDecimal totalNonFund = ScaleTwoDecimal.ZERO;
30      private ScaleTwoDecimal totalExtraNonFund = ScaleTwoDecimal.ZERO;
31  
32  
33      public EquipmentDto() {
34          cvEquipmentList = new ArrayList<CostDto>();
35          cvExtraEquipmentList = new ArrayList<CostDto>();
36  
37      }
38  
39  
40      /**
41       * Getter for property cvEquipmentList.
42       * 
43       * @return Value of property cvEquipmentList.
44       */
45      public List<CostDto> getEquipmentList() {
46          return cvEquipmentList;
47      }
48  
49      /**
50       * Setter for property cvEquipmentList.
51       * 
52       * @param cvEquipmentList New value of property cvEquipmentList.
53       */
54      public void setEquipmentList(List<CostDto> cvEquipmentList) {
55          this.cvEquipmentList = cvEquipmentList;
56      }
57  
58  
59      /**
60       * Getter for property totalFund.
61       * 
62       * @return Value of property totalFund.
63       */
64      public ScaleTwoDecimal getTotalFund() {
65          return totalFund;
66      }
67  
68      /**
69       * Setter for property totalFund.
70       * 
71       * @param totalFund New value of property totalFund.
72       */
73      public void setTotalFund(ScaleTwoDecimal totalFund) {
74          this.totalFund = totalFund;
75      }
76  
77  
78      public List<CostDto> getExtraEquipmentList() {
79          return cvExtraEquipmentList;
80      }
81  
82      /**
83       * Setter for property cvExtraEquipmentList.
84       * 
85       * @param cvExtraEquipmentList New value of property cvExtraEquipmentList.
86       */
87      public void setExtraEquipmentList(List<CostDto> cvExtraEquipmentList) {
88          this.cvExtraEquipmentList = cvExtraEquipmentList;
89      }
90  
91      /**
92       * Getter for property totalExtraFund.
93       * 
94       * @return Value of property totalExtraFund.
95       */
96      public ScaleTwoDecimal getTotalExtraFund() {
97          return totalExtraFund;
98      }
99  
100     /**
101      * Setter for property totalExtraFund.
102      * 
103      * @param totalExtraFund New value of property totalExtraFund.
104      */
105     public void setTotalExtraFund(ScaleTwoDecimal totalExtraFund) {
106         this.totalExtraFund = totalExtraFund;
107     }
108 
109     // start add costSaring for fedNonFedBudget repport
110     /**
111      * Getter for property totalNonFund.
112      * 
113      * @return Value of property totalNonFund.
114      */
115     public ScaleTwoDecimal getTotalNonFund() {
116         return totalNonFund;
117     }
118 
119     /**
120      * Setter for property totalNonFund.
121      * 
122      * @param totalNonFund New value of property totalNonFund.
123      */
124     public void setTotalNonFund(ScaleTwoDecimal totalNonFund) {
125         this.totalNonFund = totalNonFund;
126     }
127 
128     /**
129      * Getter for property totalExtraNonFund.
130      * 
131      * @return Value of property totalExtraNonFund.
132      */
133     public ScaleTwoDecimal getTotalExtraNonFund() {
134         return totalExtraNonFund;
135     }
136 
137     /**
138      * Setter for property totalExtraNonFund.
139      * 
140      * @param totalExtraNonFund New value of property totalExtraNonFund.
141      */
142     public void setTotalExtraNonFund(ScaleTwoDecimal totalExtraNonFund) {
143         this.totalExtraNonFund = totalExtraNonFund;
144     }
145 }