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.businessobject; 017 018import org.kuali.ole.coa.businessobject.Chart; 019import org.kuali.ole.coa.businessobject.Organization; 020import org.kuali.ole.module.purap.businessobject.CapitalAssetSystemState; 021import org.kuali.ole.module.purap.businessobject.CapitalAssetSystemType; 022import org.kuali.ole.module.purap.businessobject.PurchaseOrderTransmissionMethod; 023import org.kuali.ole.module.purap.businessobject.RecurringPaymentType; 024import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 025 026import java.sql.Timestamp; 027import java.util.LinkedHashMap; 028 029public class RequisitionLookup extends PersistableBusinessObjectBase { 030 031 private String documentNumber; 032 033 private String vendorCustomerNumber; 034 035 private String statusCode; 036 037 private String chartOfAccountsCode; 038 039 private String organizationCode; 040 041 private String capitalAssetSystemStateCode; 042 043 private String capitalAssetSystemTypeCode; 044 045 private String vendorCountryCode; 046 047 private String vendorCityName; 048 049 private String vendorLine1Address; 050 051 private String vendorName; 052 053 private String recurringPaymentTypeCode; 054 055 private String purchaseOrderTransmissionMethodCode; 056 057 private Integer postingYear; 058 059 private Integer purapDocumentIdentifier; 060 061 private Timestamp purchaseOrderBeginDate; 062 063 private Timestamp purchaseOrderEndDate; 064 065 private float purchaseOrderTotalLimit; 066 067 private Integer vendorHeaderGeneratedIdentifier; 068 069 private RecurringPaymentType recurringPaymentType; 070 071 private PurchaseOrderTransmissionMethod purchaseOrderTransmissionMethod; 072 073 private Organization organization; 074 075 /** 076 * Gets the organization attribute. 077 * 078 * @return Returns the organization. 079 */ 080 public Organization getOrganization() { 081 return organization; 082 } 083 084 /** 085 * Sets the organization attribute value. 086 * 087 * @param organization The organization to set. 088 */ 089 public void setOrganization(Organization organization) { 090 this.organization = organization; 091 } 092 093 094 private Chart chartOfAccounts; 095 096 private CapitalAssetSystemType capitalAssetSystemType; 097 098 /** 099 * Gets the recurringPaymentType attribute. 100 * 101 * @return Returns the recurringPaymentType. 102 */ 103 public RecurringPaymentType getRecurringPaymentType() { 104 return recurringPaymentType; 105 } 106 107 /** 108 * Sets the recurringPaymentType attribute value. 109 * 110 * @param recurringPaymentType The recurringPaymentType to set. 111 */ 112 public void setRecurringPaymentType(RecurringPaymentType recurringPaymentType) { 113 this.recurringPaymentType = recurringPaymentType; 114 } 115 116 /** 117 * Gets the purchaseOrderTransmissionMethod attribute. 118 * 119 * @return Returns the purchaseOrderTransmissionMethod. 120 */ 121 public PurchaseOrderTransmissionMethod getPurchaseOrderTransmissionMethod() { 122 return purchaseOrderTransmissionMethod; 123 } 124 125 /** 126 * Sets the purchaseOrderTransmissionMethod attribute value. 127 * 128 * @param purchaseOrderTransmissionMethod 129 * The purchaseOrderTransmissionMethod to set. 130 */ 131 public void setPurchaseOrderTransmissionMethod(PurchaseOrderTransmissionMethod purchaseOrderTransmissionMethod) { 132 this.purchaseOrderTransmissionMethod = purchaseOrderTransmissionMethod; 133 } 134 135 136 /** 137 * Gets the chartOfAccounts attribute. 138 * 139 * @return Returns the chartOfAccounts. 140 */ 141 public Chart getChartOfAccounts() { 142 return chartOfAccounts; 143 } 144 145 /** 146 * Sets the chartOfAccounts attribute value. 147 * 148 * @param chartOfAccounts The chartOfAccounts to set. 149 */ 150 public void setChartOfAccounts(Chart chartOfAccounts) { 151 this.chartOfAccounts = chartOfAccounts; 152 } 153 154 /** 155 * Gets the capitalAssetSystemType attribute. 156 * 157 * @return Returns the capitalAssetSystemType. 158 */ 159 public CapitalAssetSystemType getCapitalAssetSystemType() { 160 return capitalAssetSystemType; 161 } 162 163 /** 164 * Sets the capitalAssetSystemType attribute value. 165 * 166 * @param capitalAssetSystemType The capitalAssetSystemType to set. 167 */ 168 public void setCapitalAssetSystemType(CapitalAssetSystemType capitalAssetSystemType) { 169 this.capitalAssetSystemType = capitalAssetSystemType; 170 } 171 172 /** 173 * Gets the capitalAssetSystemState attribute. 174 * 175 * @return Returns the capitalAssetSystemState. 176 */ 177 public CapitalAssetSystemState getCapitalAssetSystemState() { 178 return capitalAssetSystemState; 179 } 180 181 /** 182 * Sets the capitalAssetSystemState attribute value. 183 * 184 * @param capitalAssetSystemState The capitalAssetSystemState to set. 185 */ 186 public void setCapitalAssetSystemState(CapitalAssetSystemState capitalAssetSystemState) { 187 this.capitalAssetSystemState = capitalAssetSystemState; 188 } 189 190 191 private CapitalAssetSystemState capitalAssetSystemState; 192 193 public String getDocumentNumber() { 194 return documentNumber; 195 } 196 197 public void setDocumentNumber(String documentNumber) { 198 this.documentNumber = documentNumber; 199 } 200 201 public String getVendorCustomerNumber() { 202 return vendorCustomerNumber; 203 } 204 205 public void setVendorCustomerNumber(String vendorCustomerNumber) { 206 this.vendorCustomerNumber = vendorCustomerNumber; 207 } 208 209 public String getStatusCode() { 210 return statusCode; 211 } 212 213 public void setStatusCode(String statusCode) { 214 this.statusCode = statusCode; 215 } 216 217 public String getChartOfAccountsCode() { 218 return chartOfAccountsCode; 219 } 220 221 public void setChartOfAccountsCode(String chartOfAccountsCode) { 222 this.chartOfAccountsCode = chartOfAccountsCode; 223 } 224 225 public String getOrganizationCode() { 226 return organizationCode; 227 } 228 229 public void setOrganizationCode(String organizationCode) { 230 this.organizationCode = organizationCode; 231 } 232 233 public String getCapitalAssetSystemStateCode() { 234 return capitalAssetSystemStateCode; 235 } 236 237 public void setCapitalAssetSystemStateCode(String capitalAssetSystemStateCode) { 238 this.capitalAssetSystemStateCode = capitalAssetSystemStateCode; 239 } 240 241 public String getCapitalAssetSystemTypeCode() { 242 return capitalAssetSystemTypeCode; 243 } 244 245 public void setCapitalAssetSystemTypeCode(String capitalAssetSystemTypeCode) { 246 this.capitalAssetSystemTypeCode = capitalAssetSystemTypeCode; 247 } 248 249 public String getVendorCountryCode() { 250 return vendorCountryCode; 251 } 252 253 public void setVendorCountryCode(String vendorCountryCode) { 254 this.vendorCountryCode = vendorCountryCode; 255 } 256 257 public String getVendorCityName() { 258 return vendorCityName; 259 } 260 261 public void setVendorCityName(String vendorCityName) { 262 this.vendorCityName = vendorCityName; 263 } 264 265 public String getVendorLine1Address() { 266 return vendorLine1Address; 267 } 268 269 public void setVendorLine1Address(String vendorLine1Address) { 270 this.vendorLine1Address = vendorLine1Address; 271 } 272 273 public String getVendorName() { 274 return vendorName; 275 } 276 277 public void setVendorName(String vendorName) { 278 this.vendorName = vendorName; 279 } 280 281 public String getRecurringPaymentTypeCode() { 282 return recurringPaymentTypeCode; 283 } 284 285 public void setRecurringPaymentTypeCode(String recurringPaymentTypeCode) { 286 this.recurringPaymentTypeCode = recurringPaymentTypeCode; 287 } 288 289 public String getPurchaseOrderTransmissionMethodCode() { 290 return purchaseOrderTransmissionMethodCode; 291 } 292 293 public void setPurchaseOrderTransmissionMethodCode(String purchaseOrderTransmissionMethodCode) { 294 this.purchaseOrderTransmissionMethodCode = purchaseOrderTransmissionMethodCode; 295 } 296 297 public Integer getPostingYear() { 298 return postingYear; 299 } 300 301 public void setPostingYear(Integer postingYear) { 302 this.postingYear = postingYear; 303 } 304 305 public Integer getPurapDocumentIdentifier() { 306 return purapDocumentIdentifier; 307 } 308 309 public void setPurapDocumentIdentifier(Integer purapDocumentIdentifier) { 310 this.purapDocumentIdentifier = purapDocumentIdentifier; 311 } 312 313 public Timestamp getPurchaseOrderBeginDate() { 314 return purchaseOrderBeginDate; 315 } 316 317 public void setPurchaseOrderBeginDate(Timestamp purchaseOrderBeginDate) { 318 this.purchaseOrderBeginDate = purchaseOrderBeginDate; 319 } 320 321 public Timestamp getPurchaseOrderEndDate() { 322 return purchaseOrderEndDate; 323 } 324 325 public void setPurchaseOrderEndDate(Timestamp purchaseOrderEndDate) { 326 this.purchaseOrderEndDate = purchaseOrderEndDate; 327 } 328 329 public float getPurchaseOrderTotalLimit() { 330 return purchaseOrderTotalLimit; 331 } 332 333 public void setPurchaseOrderTotalLimit(float purchaseOrderTotalLimit) { 334 this.purchaseOrderTotalLimit = purchaseOrderTotalLimit; 335 } 336 337 public Integer getVendorHeaderGeneratedIdentifier() { 338 return vendorHeaderGeneratedIdentifier; 339 } 340 341 public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier) { 342 this.vendorHeaderGeneratedIdentifier = vendorHeaderGeneratedIdentifier; 343 } 344 345 346 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() { 347 LinkedHashMap<String, Object> map = new LinkedHashMap<String, Object>(); 348 return map; 349 } 350 351}