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.web.struts;
17  
18  import org.kuali.ole.select.document.OleFundLookupDocument;
19  import org.kuali.ole.sys.OLEConstants;
20  import org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase;
21  
22  /**
23   * This class is the Form Class for Acquisitions Search
24   */
25  public class OleFundLookupForm extends KualiTransactionalDocumentFormBase {
26  
27      private String chartOfAccountsCode;
28      private String accountNumber;
29      private String objectCode;
30      private String organizationCode;
31      private String keyword;
32      private Integer universityFiscalYear;
33      private boolean active;
34      private String url;
35  
36  
37      private String intialBudgetAllocation;
38      private String carryOverBalance;
39      private String transfered;
40      private String netAllocation;
41      private String encumbrances;
42      private String sumPaidInvoice;
43      private String sumUnpaidInvoice;
44      private String expendedPercentage;
45      private String expenEncumPercentage;
46      private String cashBalance;
47      private String freeBalance;
48      private OleFundLookupDocument oleFundLookupDocument = new OleFundLookupDocument();
49  
50  
51      @Override
52      protected String getDefaultDocumentTypeName() {
53          return "OLE_FLU";
54      }
55  
56      public OleFundLookupDocument getOleFundLookupDocument() {
57          return (OleFundLookupDocument) getDocument();
58      }
59  
60      public void setOleFundLookupDocument(OleFundLookupDocument oleFundLookupDocument) {
61          this.oleFundLookupDocument = oleFundLookupDocument;
62      }
63  
64      public String getUrl() {
65          return OLEConstants.DOC_HANDLER_URL;
66      }
67  
68      public String getChartOfAccountsCode() {
69          return chartOfAccountsCode;
70      }
71  
72      public void setChartOfAccountsCode(String chartOfAccountsCode) {
73          this.chartOfAccountsCode = chartOfAccountsCode;
74      }
75  
76      public String getAccountNumber() {
77          return accountNumber;
78      }
79  
80      public void setAccountNumber(String accountNumber) {
81          this.accountNumber = accountNumber;
82      }
83  
84      public String getObjectCode() {
85          return objectCode;
86      }
87  
88      public void setObjectCode(String objectCode) {
89          this.objectCode = objectCode;
90      }
91  
92      public String getOrganizationCode() {
93          return organizationCode;
94      }
95  
96      public void setOrganizationCode(String organizationCode) {
97          this.organizationCode = organizationCode;
98      }
99  
100     public String getKeyword() {
101         return keyword;
102     }
103 
104     public void setKeyword(String keyword) {
105         this.keyword = keyword;
106     }
107 
108     public Integer getUniversityFiscalYear() {
109         return universityFiscalYear;
110     }
111 
112     public void setUniversityFiscalYear(Integer universityFiscalYear) {
113         this.universityFiscalYear = universityFiscalYear;
114     }
115 
116     public boolean isActive() {
117         return active;
118     }
119 
120     public void setActive(boolean active) {
121         this.active = active;
122     }
123 
124     public String getIntialBudgetAllocation() {
125         return intialBudgetAllocation;
126     }
127 
128     public void setIntialBudgetAllocation(String intialBudgetAllocation) {
129         this.intialBudgetAllocation = intialBudgetAllocation;
130     }
131 
132     public String getCarryOverBalance() {
133         return carryOverBalance;
134     }
135 
136     public void setCarryOverBalance(String carryOverBalance) {
137         this.carryOverBalance = carryOverBalance;
138     }
139 
140     public String getTransfered() {
141         return transfered;
142     }
143 
144     public void setTransfered(String transfered) {
145         this.transfered = transfered;
146     }
147 
148     public String getNetAllocation() {
149         return netAllocation;
150     }
151 
152     public void setNetAllocation(String netAllocation) {
153         this.netAllocation = netAllocation;
154     }
155 
156     public String getEncumbrances() {
157         return encumbrances;
158     }
159 
160     public void setEncumbrances(String encumbrances) {
161         this.encumbrances = encumbrances;
162     }
163 
164     public String getSumPaidInvoice() {
165         return sumPaidInvoice;
166     }
167 
168     public void setSumPaidInvoice(String sumPaidInvoice) {
169         this.sumPaidInvoice = sumPaidInvoice;
170     }
171 
172     public String getSumUnpaidInvoice() {
173         return sumUnpaidInvoice;
174     }
175 
176     public void setSumUnpaidInvoice(String sumUnpaidInvoice) {
177         this.sumUnpaidInvoice = sumUnpaidInvoice;
178     }
179 
180     public String getExpendedPercentage() {
181         return expendedPercentage;
182     }
183 
184     public void setExpendedPercentage(String expendedPercentage) {
185         this.expendedPercentage = expendedPercentage;
186     }
187 
188     public String getExpenEncumPercentage() {
189         return expenEncumPercentage;
190     }
191 
192     public void setExpenEncumPercentage(String expenEncumPercentage) {
193         this.expenEncumPercentage = expenEncumPercentage;
194     }
195 
196     public String getCashBalance() {
197         return cashBalance;
198     }
199 
200     public void setCashBalance(String cashBalance) {
201         this.cashBalance = cashBalance;
202     }
203 
204     public String getFreeBalance() {
205         return freeBalance;
206     }
207 
208     public void setFreeBalance(String freeBalance) {
209         this.freeBalance = freeBalance;
210     }
211 
212 
213 }