1 /*
2 * Copyright 2007 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.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/ecl2.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
17 package org.kuali.ole.sys.businessobject;
18
19 import java.util.LinkedHashMap;
20
21 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23
24
25 /**
26 *
27 */
28 public class OriginationCode extends PersistableBusinessObjectBase implements MutableInactivatable {
29
30 private String financialSystemOriginationCode;
31 private String financialSystemServerName;
32 private String financialSystemDatabaseName;
33 private String financialSystemDatabaseDesc;
34 private Long nextCapitalAssetNumber;
35 private Long nextNonCapitalAssetNumber;
36 private Long nextCgProposalNumber;
37 private String nextContractsAndGrantsAgencyNumber;
38 private String nextContractsAndGrantsSubcontractorNumber;
39 private Long nextDisbVchrPayeeIdNbr;
40 private Long nextFdocAttachmentIdentifier;
41 private Long acctRcvbNextCustomerNumber;
42 private Long financialDocumentNextItemIdentifier;
43 private boolean active;
44
45 /**
46 * Default no-arg constructor.
47 */
48 public OriginationCode() {
49
50 }
51
52 /**
53 * Gets the financialSystemOriginationCode attribute.
54 *
55 * @return Returns the financialSystemOriginationCode
56 */
57 public String getFinancialSystemOriginationCode() {
58 return financialSystemOriginationCode;
59 }
60
61
62 /**
63 * Sets the financialSystemOriginationCode attribute.
64 *
65 * @param financialSystemOriginationCode The financialSystemOriginationCode to set.
66 */
67 public void setFinancialSystemOriginationCode(String financialSystemOriginationCode) {
68 this.financialSystemOriginationCode = financialSystemOriginationCode;
69 }
70
71 /**
72 * Gets the financialSystemServerName attribute.
73 *
74 * @return Returns the financialSystemServerName
75 */
76 public String getFinancialSystemServerName() {
77 return financialSystemServerName;
78 }
79
80
81 /**
82 * Sets the financialSystemServerName attribute.
83 *
84 * @param financialSystemServerName The financialSystemServerName to set.
85 */
86 public void setFinancialSystemServerName(String financialSystemServerName) {
87 this.financialSystemServerName = financialSystemServerName;
88 }
89
90 /**
91 * Gets the financialSystemDatabaseName attribute.
92 *
93 * @return Returns the financialSystemDatabaseName
94 */
95 public String getFinancialSystemDatabaseName() {
96 return financialSystemDatabaseName;
97 }
98
99
100 /**
101 * Sets the financialSystemDatabaseName attribute.
102 *
103 * @param financialSystemDatabaseName The financialSystemDatabaseName to set.
104 */
105 public void setFinancialSystemDatabaseName(String financialSystemDatabaseName) {
106 this.financialSystemDatabaseName = financialSystemDatabaseName;
107 }
108
109 /**
110 * Gets the financialSystemDatabaseDesc attribute.
111 *
112 * @return Returns the financialSystemDatabaseDesc
113 */
114 public String getFinancialSystemDatabaseDesc() {
115 return financialSystemDatabaseDesc;
116 }
117
118
119 /**
120 * Sets the financialSystemDatabaseDesc attribute.
121 *
122 * @param financialSystemDatabaseDesc The financialSystemDatabaseDesc to set.
123 */
124 public void setFinancialSystemDatabaseDesc(String financialSystemDatabaseDesc) {
125 this.financialSystemDatabaseDesc = financialSystemDatabaseDesc;
126 }
127
128 /**
129 * Gets the nextCapitalAssetNumber attribute.
130 *
131 * @return Returns the nextCapitalAssetNumber
132 */
133 public Long getNextCapitalAssetNumber() {
134 return nextCapitalAssetNumber;
135 }
136
137
138 /**
139 * Sets the nextCapitalAssetNumber attribute.
140 *
141 * @param nextCapitalAssetNumber The nextCapitalAssetNumber to set.
142 */
143 public void setNextCapitalAssetNumber(Long nextCapitalAssetNumber) {
144 this.nextCapitalAssetNumber = nextCapitalAssetNumber;
145 }
146
147 /**
148 * Gets the nextNonCapitalAssetNumber attribute.
149 *
150 * @return Returns the nextNonCapitalAssetNumber
151 */
152 public Long getNextNonCapitalAssetNumber() {
153 return nextNonCapitalAssetNumber;
154 }
155
156
157 /**
158 * Sets the nextNonCapitalAssetNumber attribute.
159 *
160 * @param nextNonCapitalAssetNumber The nextNonCapitalAssetNumber to set.
161 */
162 public void setNextNonCapitalAssetNumber(Long nextNonCapitalAssetNumber) {
163 this.nextNonCapitalAssetNumber = nextNonCapitalAssetNumber;
164 }
165
166 /**
167 * Gets the nextCgProposalNumber attribute.
168 *
169 * @return Returns the nextCgProposalNumber
170 */
171 public Long getNextCgProposalNumber() {
172 return nextCgProposalNumber;
173 }
174
175
176 /**
177 * Sets the nextCgProposalNumber attribute.
178 *
179 * @param nextCgProposalNumber The nextCgProposalNumber to set.
180 */
181 public void setNextCgProposalNumber(Long nextCgProposalNumber) {
182 this.nextCgProposalNumber = nextCgProposalNumber;
183 }
184
185 /**
186 * Gets the nextContractsAndGrantsAgencyNumber attribute.
187 *
188 * @return Returns the nextContractsAndGrantsAgencyNumber
189 */
190 public String getNextContractsAndGrantsAgencyNumber() {
191 return nextContractsAndGrantsAgencyNumber;
192 }
193
194
195 /**
196 * Sets the nextContractsAndGrantsAgencyNumber attribute.
197 *
198 * @param nextContractsAndGrantsAgencyNumber The nextContractsAndGrantsAgencyNumber to set.
199 */
200 public void setNextContractsAndGrantsAgencyNumber(String nextContractsAndGrantsAgencyNumber) {
201 this.nextContractsAndGrantsAgencyNumber = nextContractsAndGrantsAgencyNumber;
202 }
203
204 /**
205 * Gets the nextContractsAndGrantsSubcontractorNumber attribute.
206 *
207 * @return Returns the nextContractsAndGrantsSubcontractorNumber
208 */
209 public String getNextContractsAndGrantsSubcontractorNumber() {
210 return nextContractsAndGrantsSubcontractorNumber;
211 }
212
213
214 /**
215 * Sets the nextContractsAndGrantsSubcontractorNumber attribute.
216 *
217 * @param nextContractsAndGrantsSubcontractorNumber The nextContractsAndGrantsSubcontractorNumber to set.
218 */
219 public void setNextContractsAndGrantsSubcontractorNumber(String nextContractsAndGrantsSubcontractorNumber) {
220 this.nextContractsAndGrantsSubcontractorNumber = nextContractsAndGrantsSubcontractorNumber;
221 }
222
223 /**
224 * Gets the nextDisbVchrPayeeIdNbr attribute.
225 *
226 * @return Returns the nextDisbVchrPayeeIdNbr
227 */
228 public Long getNextDisbVchrPayeeIdNbr() {
229 return nextDisbVchrPayeeIdNbr;
230 }
231
232
233 /**
234 * Sets the nextDisbVchrPayeeIdNbr attribute.
235 *
236 * @param nextDisbVchrPayeeIdNbr The nextDisbVchrPayeeIdNbr to set.
237 */
238 public void setNextDisbVchrPayeeIdNbr(Long nextDisbVchrPayeeIdNbr) {
239 this.nextDisbVchrPayeeIdNbr = nextDisbVchrPayeeIdNbr;
240 }
241
242 /**
243 * Gets the nextFdocAttachmentIdentifier attribute.
244 *
245 * @return Returns the nextFdocAttachmentIdentifier
246 */
247 public Long getNextFdocAttachmentIdentifier() {
248 return nextFdocAttachmentIdentifier;
249 }
250
251
252 /**
253 * Sets the nextFdocAttachmentIdentifier attribute.
254 *
255 * @param nextFdocAttachmentIdentifier The nextFdocAttachmentIdentifier to set.
256 */
257 public void setNextFdocAttachmentIdentifier(Long nextFdocAttachmentIdentifier) {
258 this.nextFdocAttachmentIdentifier = nextFdocAttachmentIdentifier;
259 }
260
261 /**
262 * Gets the acctRcvbNextCustomerNumber attribute.
263 *
264 * @return Returns the acctRcvbNextCustomerNumber
265 */
266 public Long getAcctRcvbNextCustomerNumber() {
267 return acctRcvbNextCustomerNumber;
268 }
269
270
271 /**
272 * Sets the acctRcvbNextCustomerNumber attribute.
273 *
274 * @param acctRcvbNextCustomerNumber The acctRcvbNextCustomerNumber to set.
275 */
276 public void setAcctRcvbNextCustomerNumber(Long acctRcvbNextCustomerNumber) {
277 this.acctRcvbNextCustomerNumber = acctRcvbNextCustomerNumber;
278 }
279
280 /**
281 * Gets the financialDocumentNextItemIdentifier attribute.
282 *
283 * @return Returns the financialDocumentNextItemIdentifier
284 */
285 public Long getFinancialDocumentNextItemIdentifier() {
286 return financialDocumentNextItemIdentifier;
287 }
288
289
290 /**
291 * Sets the financialDocumentNextItemIdentifier attribute.
292 *
293 * @param financialDocumentNextItemIdentifier The financialDocumentNextItemIdentifier to set.
294 */
295 public void setFinancialDocumentNextItemIdentifier(Long financialDocumentNextItemIdentifier) {
296 this.financialDocumentNextItemIdentifier = financialDocumentNextItemIdentifier;
297 }
298
299 /**
300 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
301 */
302 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
303 LinkedHashMap m = new LinkedHashMap();
304 m.put("financialSystemOriginationCode", this.financialSystemOriginationCode);
305 return m;
306 }
307
308 /**
309 * Gets the active attribute.
310 * @return Returns the active.
311 */
312 public boolean isActive() {
313 return active;
314 }
315
316 /**
317 * Sets the active attribute value.
318 * @param active The active to set.
319 */
320 public void setActive(boolean active) {
321 this.active = active;
322 }
323 }