View Javadoc
1   /*
2    * Kuali Coeus, a comprehensive research administration system for higher education.
3    * 
4    * Copyright 2005-2015 Kuali, Inc.
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  package org.kuali.coeus.s2sgen.impl.budget;
20  
21  import org.kuali.coeus.sys.api.model.ScaleTwoDecimal;
22  
23  
24  public class CostDto {
25  
26      private int budgetPeriod;
27      private ScaleTwoDecimal cost;
28      private String category;
29      private String categoryType;
30      private String description;
31      private int quantity;
32      private ScaleTwoDecimal costSharing;
33  
34      /**
35       * Getter for property budgetPeriod
36       * 
37       * @return Value of property budgetPEriod.
38       */
39      public int getBudgetPeriod() {
40          return budgetPeriod;
41      }
42  
43      /**
44       * Setter for property budgetPeriod
45       * 
46       * @param budgetPeriod New value of property budgetPeriod.
47       */
48      public void setBudgetPeriod(int budgetPeriod) {
49          this.budgetPeriod = budgetPeriod;
50      }
51  
52  
53      /**
54       * Getter for property cost
55       * 
56       * @return Value of property cost.
57       */
58      public ScaleTwoDecimal getCost() {
59          return cost;
60      }
61  
62      /**
63       * Setter for property cost
64       * 
65       * @param cost New value of property cost.
66       */
67      public void setCost(ScaleTwoDecimal cost) {
68          this.cost = cost;
69      }
70  
71      /**
72       * Getter for property category
73       * 
74       * @return Value of property category.
75       */
76      public String getCategory() {
77          return category;
78      }
79  
80      /**
81       * Setter for property category
82       * 
83       * @param category New value of property category.
84       */
85      public void setCategory(String category) {
86          this.category = category;
87      }
88  
89      /**
90       * Getter for property categoryType
91       * 
92       * @return Value of property categoryType.
93       */
94      public String getCategoryType() {
95          return categoryType;
96      }
97  
98      /**
99       * Setter for property categoryType
100      * 
101      * @param categoryType New value of property categoryType.
102      */
103     public void setCategoryType(String categoryType) {
104         this.categoryType = categoryType;
105     }
106 
107     /**
108      * Getter for property description
109      * 
110      * @return Value of property description.
111      */
112     public String getDescription() {
113         return description;
114     }
115 
116     /**
117      * Setter for property description
118      * 
119      * @param description New value of property description.
120      */
121     public void setDescription(String description) {
122         this.description = description;
123     }
124 
125     /**
126      * Getter for property quantity
127      * 
128      * @return Value of property quantity.
129      */
130     public int getQuantity() {
131         return quantity;
132     }
133 
134     /**
135      * Setter for property quantity
136      * 
137      * @param quantity New value of property quantity.
138      */
139     public void setQuantity(int quantity) {
140         this.quantity = quantity;
141     }
142 
143     // start add costSaring for fedNonFedBudget repport
144     public ScaleTwoDecimal getCostSharing() {
145         return costSharing==null? ScaleTwoDecimal.ZERO:costSharing;
146     }
147 
148     public void setCostSharing(ScaleTwoDecimal costSharing) {
149         this.costSharing = costSharing;
150     }
151 }