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 IndirectCostDetailsDto {
25
26
27 private String costType;
28 private ScaleTwoDecimal rate;
29 private ScaleTwoDecimal base;
30 private ScaleTwoDecimal funds;
31 private ScaleTwoDecimal baseCostSharing;
32 private ScaleTwoDecimal costSharing;
33
34 /**
35 * Getter for property costType.
36 *
37 * @return Value of property costType.
38 */
39 public String getCostType() {
40 return costType;
41 }
42
43 /**
44 * Setter for property costType.
45 *
46 * @param costType New value of property costType.
47 */
48 public void setCostType(String costType) {
49 this.costType = costType;
50 }
51
52 /**
53 * Getter for property rate.
54 *
55 * @return Value of property rate.
56 */
57 public ScaleTwoDecimal getRate() {
58 return rate;
59 }
60
61 /**
62 * Setter for property rate.
63 *
64 * @param rate New value of property rate.
65 */
66 public void setRate(ScaleTwoDecimal rate) {
67 this.rate = rate;
68 }
69
70 /**
71 * Getter for property base.
72 *
73 * @return Value of property base.
74 */
75 public ScaleTwoDecimal getBase() {
76 return base;
77 }
78
79 /**
80 * Setter for property base.
81 *
82 * @param base New value of property base.
83 */
84 public void setBase(ScaleTwoDecimal base) {
85 this.base = base;
86 }
87
88 /**
89 * Getter for property funds.
90 *
91 * @return Value of property funds.
92 */
93 public ScaleTwoDecimal getFunds() {
94 return funds;
95 }
96
97 /**
98 * Setter for property funds.
99 *
100 * @param funds New value of property funds.
101 */
102 public void setFunds(ScaleTwoDecimal funds) {
103 this.funds = funds;
104 }
105
106 // start add costSaring for fedNonFedBudget repport
107
108 public ScaleTwoDecimal getBaseCostSharing() {
109 return baseCostSharing==null? ScaleTwoDecimal.ZERO:baseCostSharing;
110 }
111
112 public void setBaseCostSharing(ScaleTwoDecimal baseCostSharing) {
113 this.baseCostSharing = baseCostSharing;
114 }
115
116 public ScaleTwoDecimal getCostSharing() {
117 return costSharing==null? ScaleTwoDecimal.ZERO:costSharing;
118 }
119
120 public void setCostSharing(ScaleTwoDecimal costSharing) {
121 this.costSharing = costSharing;
122 }
123 }