View Javadoc
1   /*
2    * Copyright 2013 The Kuali Foundation.
3    *
4    * Licensed under the Educational Community License, Version 1.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/ecl1.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.select.businessobject;
17  
18  import org.kuali.ole.coa.businessobject.Account;
19  import org.kuali.ole.coa.businessobject.SufficientFundsCode;
20  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
21  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
22  
23  import java.math.BigDecimal;
24  import java.util.LinkedHashMap;
25  
26  
27  public class OleSufficientFundCheck extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private Integer sufficientFundCheckId;
30      private String chartOfAccountsCode;
31      private String accountNumber;
32      private String encumbExpenseMethod;
33      private String encumbExpenseConstraintType;
34      private BigDecimal encumbranceAmount;
35      private BigDecimal expenseAmount;
36      // private String encumbExpenseType;
37      /*
38       * private String expenseMethod; private String expenseConstraintType; private BigDecimal expenseAmount; private String
39       * expenseType;
40       */
41      private Account account;
42      private boolean active;
43      private OleSufficientFundsCheckType oleSufficientFundsCheckType;
44      private SufficientFundsCode sufficientFundsCode;
45      private String notificationOption;
46  
47  
48      public Integer getSufficientFundCheckId() {
49          return sufficientFundCheckId;
50      }
51  
52  
53      public void setSufficientFundCheckId(Integer sufficientFundCheckId) {
54          this.sufficientFundCheckId = sufficientFundCheckId;
55      }
56  
57      public String getChartOfAccountsCode() {
58          return chartOfAccountsCode;
59      }
60  
61      public void setChartOfAccountsCode(String chartOfAccountsCode) {
62          this.chartOfAccountsCode = chartOfAccountsCode;
63      }
64  
65      public String getAccountNumber() {
66          return accountNumber;
67      }
68  
69  
70      public void setAccountNumber(String accountNumber) {
71          this.accountNumber = accountNumber;
72      }
73  
74  
75      /*
76       * public String getExpenseMethod() { return expenseMethod; } public void setExpenseMethod(String expenseMethod) {
77       * this.expenseMethod = expenseMethod; } public String getExpenseConstraintType() { return expenseConstraintType; } public void
78       * setExpenseConstraintType(String expenseConstraintType) { this.expenseConstraintType = expenseConstraintType; } public
79       * BigDecimal getExpenseAmount() { return expenseAmount; } public void setExpenseAmount(BigDecimal expenseAmount) {
80       * this.expenseAmount = expenseAmount; } public String getExpenseType() { return expenseType; } public void
81       * setExpenseType(String expenseType) { this.expenseType = expenseType; }
82       */
83  
84      public String getEncumbExpenseMethod() {
85          return encumbExpenseMethod;
86      }
87  
88  
89      public void setEncumbExpenseMethod(String encumbExpenseMethod) {
90          this.encumbExpenseMethod = encumbExpenseMethod;
91      }
92  
93  
94      public String getEncumbExpenseConstraintType() {
95          return encumbExpenseConstraintType;
96      }
97  
98  
99      public void setEncumbExpenseConstraintType(String encumbExpenseConstraintType) {
100         this.encumbExpenseConstraintType = encumbExpenseConstraintType;
101     }
102 
103 
104     /*
105      * public String getEncumbExpenseType() { return encumbExpenseType; } public void setEncumbExpenseType(String encumbExpenseType)
106      * { this.encumbExpenseType = encumbExpenseType; }
107      */
108 
109 
110     public BigDecimal getEncumbranceAmount() {
111         return encumbranceAmount;
112     }
113 
114 
115     public void setEncumbranceAmount(BigDecimal encumbranceAmount) {
116         this.encumbranceAmount = encumbranceAmount;
117     }
118 
119 
120     public BigDecimal getExpenseAmount() {
121         return expenseAmount;
122     }
123 
124 
125     public void setExpenseAmount(BigDecimal expenseAmount) {
126         this.expenseAmount = expenseAmount;
127     }
128 
129 
130     @Override
131     public boolean isActive() {
132         return active;
133     }
134 
135     @Override
136     public void setActive(boolean active) {
137         this.active = active;
138     }
139 
140 
141     public OleSufficientFundsCheckType getOleSufficientFundsCheckType() {
142         return oleSufficientFundsCheckType;
143     }
144 
145     public void setOleSufficientFundsCheckType(OleSufficientFundsCheckType oleSufficientFundsCheckType) {
146         this.oleSufficientFundsCheckType = oleSufficientFundsCheckType;
147     }
148 
149 
150     public SufficientFundsCode getSufficientFundsCode() {
151         return sufficientFundsCode;
152     }
153 
154     public void setSufficientFundsCode(SufficientFundsCode sufficientFundsCode) {
155         this.sufficientFundsCode = sufficientFundsCode;
156     }
157 
158     public Account getAccount() {
159         return account;
160     }
161 
162     public void setAccount(Account account) {
163         this.account = account;
164     }
165 
166 
167     public String getNotificationOption() {
168         return notificationOption;
169     }
170 
171 
172     public void setNotificationOption(String notificationOption) {
173         this.notificationOption = notificationOption;
174     }
175 
176     protected LinkedHashMap toStringMapper() {
177         LinkedHashMap m = new LinkedHashMap();
178         m.put("sufficientFundCheckId", this.sufficientFundCheckId);
179         return m;
180     }
181 
182 }