View Javadoc
1   /*
2    * Copyright 2008 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  package org.kuali.ole.sys.identity;
17  
18  import org.kuali.ole.coa.businessobject.Account;
19  import org.kuali.ole.coa.businessobject.Chart;
20  import org.kuali.ole.coa.businessobject.Organization;
21  import org.kuali.ole.coa.businessobject.SubAccount;
22  import org.kuali.ole.coa.businessobject.SubFundGroup;
23  import org.kuali.ole.pdp.businessobject.CustomerProfile;
24  import org.kuali.ole.vnd.businessobject.CommodityCode;
25  import org.kuali.ole.vnd.businessobject.ContractManager;
26  import org.kuali.ole.vnd.businessobject.VendorType;
27  import org.kuali.rice.core.api.util.type.KualiInteger;
28  
29  public class OleKimAttributes extends org.kuali.rice.kim.bo.impl.KimAttributes {
30  
31      public static final String CHART_OF_ACCOUNTS_CODE = "chartOfAccountsCode";
32      public static final String ACCOUNT_NUMBER = "accountNumber";
33      public static final String FINANCIAL_SYSTEM_DOCUMENT_TYPE_CODE = "financialSystemDocumentTypeCode";
34      public static final String ORGANIZATION_CODE = "organizationCode";
35      public static final String DESCEND_HIERARCHY = "descendHierarchy";
36      public static final String FROM_AMOUNT = "fromAmount";
37      public static final String TO_AMOUNT = "toAmount";
38      public static final String FINANCIAL_DOCUMENT_TOTAL_AMOUNT = "financialDocumentTotalAmount";
39      public static final String ACCOUNTING_LINE_OVERRIDE_CODE = "accountingLineOverrideCode";
40      public static final String SUB_FUND_GROUP_CODE = "subFundGroupCode";
41      public static final String PURCHASING_COMMODITY_CODE = "purchasingCommodityCode";
42      public static final String CONTRACT_MANAGER_CODE = "contractManagerCode";
43      public static final String CUSTOMER_PROFILE_ID = "customerProfileId";
44      public static final String ACH_TRANSACTION_TYPE_CODE = "achTransactionTypeCode";
45      public static final String VENDOR_TYPE_CODE = "vendorTypeCode";
46      public static final String CONTRACTS_AND_GRANTS_ACCOUNT_RESPONSIBILITY_ID = "contractsAndGrantsAccountResponsibilityId";
47      public static final String DISBURSEMENT_VOUCHER_PAYMENT_METHOD_CODE = "disbursementVoucherPaymentMethodCode";
48      public static final String SUB_ACCOUNT_NUMBER = "subAccountNumber";
49      public static final String FILE_PATH = "filePath";
50      public static final String ROUTE_NODE_NAME = "routeNodeName";
51  
52      protected String chartOfAccountsCode;
53      protected String accountNumber;
54      protected String organizationCode;
55      protected Boolean descendHierarchy;
56      protected String fromAmount;
57      protected String toAmount;
58      protected String accountingLineOverrideCode;
59      protected String subFundGroupCode;
60      protected String purchasingCommodityCode;
61      protected Integer contractManagerCode;
62      protected KualiInteger customerProfileId;
63      protected String vendorTypeCode;
64      protected String contractsAndGrantsAccountResponsibilityId;
65      protected String disbursementVoucherPaymentMethodCode;
66      protected String subAccountNumber;
67      protected String filePath;
68  
69      protected Chart chart;
70      protected Organization organization;
71      protected Account account;
72      protected SubFundGroup subFundGroup;
73      protected ContractManager contractManager;
74      protected CommodityCode commodityCode;
75      protected CustomerProfile customerProfile;
76      protected SubAccount subAccount;
77      protected VendorType vendorType;
78  
79      /**
80       * Gets the chartOfAccountsCode attribute.
81       *
82       * @return Returns the chartOfAccountsCode.
83       */
84      public String getChartOfAccountsCode() {
85          return chartOfAccountsCode;
86      }
87  
88      /**
89       * Sets the chartOfAccountsCode attribute value.
90       *
91       * @param chartOfAccountsCode The chartOfAccountsCode to set.
92       */
93      public void setChartOfAccountsCode(String chartOfAccountsCode) {
94          this.chartOfAccountsCode = chartOfAccountsCode;
95      }
96  
97      /**
98       * Gets the accountNumber attribute.
99       *
100      * @return Returns the accountNumber.
101      */
102     public String getAccountNumber() {
103         return accountNumber;
104     }
105 
106     /**
107      * Sets the accountNumber attribute value.
108      *
109      * @param accountNumber The accountNumber to set.
110      */
111     public void setAccountNumber(String accountNumber) {
112         this.accountNumber = accountNumber;
113     }
114 
115     /**
116      * Gets the organizationCode attribute.
117      *
118      * @return Returns the organizationCode.
119      */
120     public String getOrganizationCode() {
121         return organizationCode;
122     }
123 
124     /**
125      * Sets the organizationCode attribute value.
126      *
127      * @param organizationCode The organizationCode to set.
128      */
129     public void setOrganizationCode(String organizationCode) {
130         this.organizationCode = organizationCode;
131     }
132 
133     /**
134      * Gets the descendHierarchy attribute.
135      *
136      * @return Returns the descendHierarchy.
137      */
138     public Boolean isDescendHierarchy() {
139         return descendHierarchy;
140     }
141 
142     /**
143      * Sets the descendHierarchy attribute value.
144      *
145      * @param descendHierarchy The descendHierarchy to set.
146      */
147     public void setDescendHierarchy(Boolean descendHierarchy) {
148         this.descendHierarchy = descendHierarchy;
149     }
150 
151     /**
152      * Gets the fromAmount attribute.
153      *
154      * @return Returns the fromAmount.
155      */
156     public String getFromAmount() {
157         return fromAmount;
158     }
159 
160     /**
161      * Sets the fromAmount attribute value.
162      *
163      * @param fromAmount The fromAmount to set.
164      */
165     public void setFromAmount(String fromAmount) {
166         this.fromAmount = fromAmount;
167     }
168 
169     /**
170      * Gets the toAmount attribute.
171      *
172      * @return Returns the toAmount.
173      */
174     public String getToAmount() {
175         return toAmount;
176     }
177 
178     /**
179      * Sets the toAmount attribute value.
180      *
181      * @param toAmount The toAmount to set.
182      */
183     public void setToAmount(String toAmount) {
184         this.toAmount = toAmount;
185     }
186 
187     /**
188      * Gets the accountingLineOverrideCode attribute.
189      *
190      * @return Returns the accountingLineOverrideCode.
191      */
192     public String getAccountingLineOverrideCode() {
193         return accountingLineOverrideCode;
194     }
195 
196     /**
197      * Sets the accountingLineOverrideCode attribute value.
198      *
199      * @param accountingLineOverrideCode The accountingLineOverrideCode to set.
200      */
201     public void setAccountingLineOverrideCode(String accountingLineOverrideCode) {
202         this.accountingLineOverrideCode = accountingLineOverrideCode;
203     }
204 
205     /**
206      * Gets the subFundGroupCode attribute.
207      *
208      * @return Returns the subFundGroupCode.
209      */
210     public String getSubFundGroupCode() {
211         return subFundGroupCode;
212     }
213 
214     /**
215      * Sets the subFundGroupCode attribute value.
216      *
217      * @param subFundGroupCode The subFundGroupCode to set.
218      */
219     public void setSubFundGroupCode(String subFundGroupCode) {
220         this.subFundGroupCode = subFundGroupCode;
221     }
222 
223     /**
224      * Gets the purchasingCommodityCode attribute.
225      *
226      * @return Returns the purchasingCommodityCode.
227      */
228     public String getPurchasingCommodityCode() {
229         return purchasingCommodityCode;
230     }
231 
232     /**
233      * Sets the purchasingCommodityCode attribute value.
234      *
235      * @param purchasingCommodityCode The purchasingCommodityCode to set.
236      */
237     public void setPurchasingCommodityCode(String purchasingCommodityCode) {
238         this.purchasingCommodityCode = purchasingCommodityCode;
239     }
240 
241     /**
242      * Gets the contractManagerCode attribute.
243      *
244      * @return Returns the contractManagerCode.
245      */
246     public Integer getContractManagerCode() {
247         return contractManagerCode;
248     }
249 
250     /**
251      * Sets the contractManagerCode attribute value.
252      *
253      * @param contractManagerCode The contractManagerCode to set.
254      */
255     public void setContractManagerCode(Integer contractManagerCode) {
256         this.contractManagerCode = contractManagerCode;
257     }
258 
259     /**
260      * Gets the customerProfileId attribute.
261      *
262      * @return Returns the customerProfileId.
263      */
264     public KualiInteger getCustomerProfileId() {
265         return customerProfileId;
266     }
267 
268     /**
269      * Sets the customerProfileId attribute value.
270      *
271      * @param customerProfileId The customerProfileId to set.
272      */
273     public void setCustomerProfileId(KualiInteger customerProfileId) {
274         this.customerProfileId = customerProfileId;
275     }
276 
277     /**
278      * Gets the vendorTypeCode attribute.
279      *
280      * @return Returns the vendorTypeCode.
281      */
282     public String getVendorTypeCode() {
283         return vendorTypeCode;
284     }
285 
286     /**
287      * Sets the vendorTypeCode attribute value.
288      *
289      * @param vendorTypeCode The vendorTypeCode to set.
290      */
291     public void setVendorTypeCode(String vendorTypeCode) {
292         this.vendorTypeCode = vendorTypeCode;
293     }
294 
295     /**
296      * Gets the contractsAndGrantsAccountResponsibilityId attribute.
297      *
298      * @return Returns the contractsAndGrantsAccountResponsibilityId.
299      */
300     public String getContractsAndGrantsAccountResponsibilityId() {
301         return contractsAndGrantsAccountResponsibilityId;
302     }
303 
304     /**
305      * Sets the contractsAndGrantsAccountResponsibilityId attribute value.
306      *
307      * @param contractsAndGrantsAccountResponsibilityId The contractsAndGrantsAccountResponsibilityId to set.
308      */
309     public void setContractsAndGrantsAccountResponsibilityId(String contractsAndGrantsAccountResponsibilityId) {
310         this.contractsAndGrantsAccountResponsibilityId = contractsAndGrantsAccountResponsibilityId;
311     }
312 
313     /**
314      *
315      * @return Returns the disbursementVoucherPaymentMethodCode.
316      */
317     public String getDisbursementVoucherPaymentMethodCode() {
318         return disbursementVoucherPaymentMethodCode;
319     }
320 
321     /**
322      * Sets the disbursementVoucherPaymentMethodCode attribute value.
323      *
324      * @param disbursementVoucherPaymentMethodCode The disbursementVoucherPaymentMethodCode to set.
325      */
326     public void setDisbursementVoucherPaymentMethodCode(String disbursementVoucherPaymentMethodCode) {
327         this.disbursementVoucherPaymentMethodCode = disbursementVoucherPaymentMethodCode;
328     }
329 
330     /**
331      * Gets the subAccountNumber attribute.
332      *
333      * @return Returns the subAccountNumber.
334      */
335     public String getSubAccountNumber() {
336         return subAccountNumber;
337     }
338 
339     /**
340      * Sets the subAccountNumber attribute value.
341      *
342      * @param subAccountNumber The subAccountNumber to set.
343      */
344     public void setSubAccountNumber(String subAccountNumber) {
345         this.subAccountNumber = subAccountNumber;
346     }
347 
348     public Chart getChart() {
349         return chart;
350     }
351 
352     public void setChart(Chart chart) {
353         this.chart = chart;
354     }
355 
356     public Organization getOrganization() {
357         return organization;
358     }
359 
360     public void setOrganization(Organization organization) {
361         this.organization = organization;
362     }
363 
364     public Account getAccount() {
365         return account;
366     }
367 
368     public void setAccount(Account account) {
369         this.account = account;
370     }
371 
372     public SubFundGroup getSubFundGroup() {
373         return subFundGroup;
374     }
375 
376     public void setSubFundGroup(SubFundGroup subFundGroup) {
377         this.subFundGroup = subFundGroup;
378     }
379 
380     public ContractManager getContractManager() {
381         return contractManager;
382     }
383 
384     public void setContractManager(ContractManager contractManager) {
385         this.contractManager = contractManager;
386     }
387 
388     public CommodityCode getCommodityCode() {
389         return commodityCode;
390     }
391 
392     public void setCommodityCode(CommodityCode commodityCode) {
393         this.commodityCode = commodityCode;
394     }
395 
396     public CustomerProfile getCustomerProfile() {
397         return customerProfile;
398     }
399 
400     public void setCustomerProfile(CustomerProfile customerProfile) {
401         this.customerProfile = customerProfile;
402     }
403 
404     public SubAccount getSubAccount() {
405         return subAccount;
406     }
407 
408     public void setSubAccount(SubAccount subAccount) {
409         this.subAccount = subAccount;
410     }
411 
412     public VendorType getVendorType() {
413         return vendorType;
414     }
415 
416     public void setVendorType(VendorType vendorType) {
417         this.vendorType = vendorType;
418     }
419 
420     public String getFilePath() {
421         return filePath;
422     }
423 
424     public void setFilePath(String filePath) {
425         this.filePath = filePath;
426     }
427 }