1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.integration.cg.businessobject;
18
19 import org.kuali.ole.integration.cg.ContractsAndGrantsAgency;
20 import org.kuali.rice.core.api.util.type.KualiDecimal;
21
22
23
24
25
26 public class Agency implements ContractsAndGrantsAgency {
27
28 private String agencyNumber;
29 private String reportingName;
30 private String fullName;
31 private String agencyTypeCode;
32 private String reportsToAgencyNumber;
33 private KualiDecimal indirectAmount;
34 private boolean inStateIndicator;
35 private Agency reportsToAgency;
36 private boolean active;
37
38
39
40
41
42
43 public String getAgencyTypeCode() {
44 return agencyTypeCode;
45 }
46
47
48
49
50
51
52 public void setAgencyTypeCode(String agencyTypeCode) {
53 this.agencyTypeCode = agencyTypeCode;
54 }
55
56
57
58
59
60
61 public String getReportsToAgencyNumber() {
62 return reportsToAgencyNumber;
63 }
64
65
66
67
68
69
70 public void setReportsToAgencyNumber(String reportsToAgencyNumber) {
71 this.reportsToAgencyNumber = reportsToAgencyNumber;
72 }
73
74
75
76
77 public Agency() {
78
79 }
80
81
82
83
84
85
86 public String getAgencyNumber() {
87 return agencyNumber;
88 }
89
90
91
92
93
94
95 public void setAgencyNumber(String agencyNumber) {
96 this.agencyNumber = agencyNumber;
97 }
98
99
100
101
102
103
104 public String getReportingName() {
105 return reportingName;
106 }
107
108
109
110
111
112
113 public void setReportingName(String reportingName) {
114 this.reportingName = reportingName;
115 }
116
117
118
119
120
121
122 public String getFullName() {
123 return fullName;
124 }
125
126
127
128
129
130
131 public void setFullName(String fullName) {
132 this.fullName = fullName;
133 }
134
135
136
137
138
139
140 public KualiDecimal getIndirectAmount() {
141 return indirectAmount;
142 }
143
144
145
146
147
148
149 public void setIndirectAmount(KualiDecimal indirectAmount) {
150 this.indirectAmount = indirectAmount;
151 }
152
153
154
155
156
157
158 public boolean isInStateIndicator() {
159 return inStateIndicator;
160 }
161
162
163
164
165
166
167 public void setInStateIndicator(boolean inStateIndicator) {
168 this.inStateIndicator = inStateIndicator;
169 }
170
171
172
173
174
175
176 public Agency getReportsToAgency() {
177 return reportsToAgency;
178 }
179
180
181
182
183
184
185
186
187 public void setReportsToAgency(Agency reportsToAgencyNumber) {
188 this.reportsToAgency = reportsToAgencyNumber;
189 }
190
191
192
193
194
195
196
197
198 public boolean equals(Agency agency) {
199 return this.agencyNumber.equals(agency.getAgencyNumber());
200 }
201
202
203
204
205
206 public boolean isActive() {
207 return active;
208 }
209
210
211
212
213
214 public void setActive(boolean active) {
215 this.active = active;
216 }
217
218 public void prepareForWorkflow() {}
219
220 public void refresh() {}
221
222 }