View Javadoc
1   /*
2    * Copyright 2011 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.select.document;
17  
18  import org.kuali.ole.coa.businessobject.Account;
19  import org.kuali.ole.coa.businessobject.Chart;
20  import org.kuali.ole.coa.businessobject.ObjectCode;
21  import org.kuali.ole.select.businessobject.OleFundLookup;
22  import org.kuali.ole.sys.OLEConstants;
23  import org.kuali.ole.sys.context.SpringContext;
24  import org.kuali.ole.sys.service.UniversityDateService;
25  import org.kuali.rice.krad.document.TransactionalDocumentBase;
26  
27  import java.util.ArrayList;
28  import java.util.Date;
29  import java.util.List;
30  
31  /**
32   * This class is the document Class for Acquisition Search
33   */
34  public class OleFundLookupDocument extends TransactionalDocumentBase {
35      private static final org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(OleFundLookupDocument.class);
36  
37      private String chartOfAccountsCode;
38      private String accountNumber;
39      private String objectCode;
40      private String organizationCode;
41      private String keyword;
42      private String universityFiscalYear;
43      private boolean active;
44      private Chart chart;
45      private Account account;
46      private ObjectCode financialObject;
47      private String accountName;
48      private String intialFundBalance;
49      private String cashBalance;
50      private String freeBalance;
51      private String intialBudgetAllocation;
52      private String carryOverBalance;
53      private String transfered;
54      private String netAllocation;
55      private String encumbrances;
56      private String sumPaidInvoice;
57      private String sumUnpaidInvoice;
58      private String expendedPercentage;
59      private String expenEncumPercentage;
60      private List<OleFundLookup> finalResults = new ArrayList<OleFundLookup>();
61  
62  
63      public OleFundLookupDocument() {
64          Date fiscalYear = new Date();
65          universityFiscalYear = SpringContext.getBean(UniversityDateService.class).getCurrentFiscalYear().toString();
66      }
67  
68      public String getAccountName() {
69          return accountName;
70      }
71  
72      public void setAccountName(String accountName) {
73          this.accountName = accountName;
74      }
75  
76      public String getChartOfAccountsCode() {
77          return chartOfAccountsCode;
78      }
79  
80      public void setChartOfAccountsCode(String chartOfAccountsCode) {
81          this.chartOfAccountsCode = chartOfAccountsCode;
82      }
83  
84      public String getAccountNumber() {
85          return accountNumber;
86      }
87  
88      public void setAccountNumber(String accountNumber) {
89          this.accountNumber = accountNumber;
90      }
91  
92      public String getObjectCode() {
93          return objectCode;
94      }
95  
96      public void setObjectCode(String objectCode) {
97          this.objectCode = objectCode;
98      }
99  
100     public String getOrganizationCode() {
101         return organizationCode;
102     }
103 
104     public void setOrganizationCode(String organizationCode) {
105         this.organizationCode = organizationCode;
106     }
107 
108     public String getKeyword() {
109         return keyword;
110     }
111 
112     public void setKeyword(String keyword) {
113         this.keyword = keyword;
114     }
115 
116     public String getUniversityFiscalYear() {
117         return universityFiscalYear;
118     }
119 
120     public void setUniversityFiscalYear(String universityFiscalYear) {
121         this.universityFiscalYear = universityFiscalYear;
122     }
123 
124     public boolean isActive() {
125         return active;
126     }
127 
128     public void setActive(boolean active) {
129         this.active = active;
130     }
131 
132     public Chart getChart() {
133         return chart;
134     }
135 
136     public void setChart(Chart chart) {
137         this.chart = chart;
138     }
139 
140     public Account getAccount() {
141         return account;
142     }
143 
144     public void setAccount(Account account) {
145         this.account = account;
146     }
147 
148     public ObjectCode getFinancialObject() {
149         return financialObject;
150     }
151 
152     public void setFinancialObject(ObjectCode financialObject) {
153         this.financialObject = financialObject;
154     }
155 
156     public String getIntialFundBalance() {
157         return intialFundBalance;
158     }
159 
160     public void setIntialFundBalance(String intialFundBalance) {
161         this.intialFundBalance = intialFundBalance;
162     }
163 
164     public String getCashBalance() {
165         return cashBalance;
166     }
167 
168     public void setCashBalance(String cashBalance) {
169         this.cashBalance = cashBalance;
170     }
171 
172     public String getFreeBalance() {
173         return freeBalance;
174     }
175 
176     public void setFreeBalance(String freeBalance) {
177         this.freeBalance = freeBalance;
178     }
179 
180     public String getIntialBudgetAllocation() {
181         return intialBudgetAllocation;
182     }
183 
184     public void setIntialBudgetAllocation(String intialBudgetAllocation) {
185         this.intialBudgetAllocation = intialBudgetAllocation;
186     }
187 
188     public String getCarryOverBalance() {
189         return carryOverBalance;
190     }
191 
192     public void setCarryOverBalance(String carryOverBalance) {
193         this.carryOverBalance = carryOverBalance;
194     }
195 
196     public String getTransfered() {
197         return transfered;
198     }
199 
200     public void setTransfered(String transfered) {
201         this.transfered = transfered;
202     }
203 
204     public String getNetAllocation() {
205         return netAllocation;
206     }
207 
208     public void setNetAllocation(String netAllocation) {
209         this.netAllocation = netAllocation;
210     }
211 
212     public String getEncumbrances() {
213         return encumbrances;
214     }
215 
216     public void setEncumbrances(String encumbrances) {
217         this.encumbrances = encumbrances;
218     }
219 
220     public String getSumPaidInvoice() {
221         return sumPaidInvoice;
222     }
223 
224     public void setSumPaidInvoice(String sumPaidInvoice) {
225         this.sumPaidInvoice = sumPaidInvoice;
226     }
227 
228     public String getSumUnpaidInvoice() {
229         return sumUnpaidInvoice;
230     }
231 
232     public void setSumUnpaidInvoice(String sumUnpaidInvoice) {
233         this.sumUnpaidInvoice = sumUnpaidInvoice;
234     }
235 
236     public String getExpendedPercentage() {
237         return expendedPercentage;
238     }
239 
240     public void setExpendedPercentage(String expendedPercentage) {
241         this.expendedPercentage = expendedPercentage;
242     }
243 
244     public String getExpenEncumPercentage() {
245         return expenEncumPercentage;
246     }
247 
248     public void setExpenEncumPercentage(String expenEncumPercentage) {
249         this.expenEncumPercentage = expenEncumPercentage;
250     }
251 
252     public List<OleFundLookup> getFinalResults() {
253         return finalResults;
254     }
255 
256     public void setFinalResults(List<OleFundLookup> finalResults) {
257         this.finalResults = finalResults;
258     }
259 
260 
261 }