001/* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.ole.select.document.web.struts; 017 018import org.kuali.ole.select.document.OleFundLookupDocument; 019import org.kuali.ole.sys.OLEConstants; 020import org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase; 021 022/** 023 * This class is the Form Class for Acquisitions Search 024 */ 025public class OleFundLookupForm extends KualiTransactionalDocumentFormBase { 026 027 private String chartOfAccountsCode; 028 private String accountNumber; 029 private String objectCode; 030 private String organizationCode; 031 private String keyword; 032 private String universityFiscalYear; 033 private boolean active; 034 private String url; 035 036 037 private String intialBudgetAllocation; 038 private String carryOverBalance; 039 private String transfered; 040 private String netAllocation; 041 private String encumbrances; 042 private String sumPaidInvoice; 043 private String sumUnpaidInvoice; 044 private String expendedPercentage; 045 private String expenEncumPercentage; 046 private String cashBalance; 047 private String freeBalance; 048 private OleFundLookupDocument oleFundLookupDocument = new OleFundLookupDocument(); 049 050 051 @Override 052 protected String getDefaultDocumentTypeName() { 053 return "OLE_FLU"; 054 } 055 056 public OleFundLookupDocument getOleFundLookupDocument() { 057 return (OleFundLookupDocument) getDocument(); 058 } 059 060 public void setOleFundLookupDocument(OleFundLookupDocument oleFundLookupDocument) { 061 this.oleFundLookupDocument = oleFundLookupDocument; 062 } 063 064 public String getUrl() { 065 return OLEConstants.DOC_HANDLER_URL; 066 } 067 068 public String getChartOfAccountsCode() { 069 return chartOfAccountsCode; 070 } 071 072 public void setChartOfAccountsCode(String chartOfAccountsCode) { 073 this.chartOfAccountsCode = chartOfAccountsCode; 074 } 075 076 public String getAccountNumber() { 077 return accountNumber; 078 } 079 080 public void setAccountNumber(String accountNumber) { 081 this.accountNumber = accountNumber; 082 } 083 084 public String getObjectCode() { 085 return objectCode; 086 } 087 088 public void setObjectCode(String objectCode) { 089 this.objectCode = objectCode; 090 } 091 092 public String getOrganizationCode() { 093 return organizationCode; 094 } 095 096 public void setOrganizationCode(String organizationCode) { 097 this.organizationCode = organizationCode; 098 } 099 100 public String getKeyword() { 101 return keyword; 102 } 103 104 public void setKeyword(String keyword) { 105 this.keyword = keyword; 106 } 107 108 public String getUniversityFiscalYear() { 109 return universityFiscalYear; 110 } 111 112 public void setUniversityFiscalYear(String 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}