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 */ 016 package org.kuali.kfs.fp.businessobject; 017 018 import java.sql.Date; 019 020 import org.kuali.kfs.sys.KFSConstants; 021 022 /** 023 * This helper class works in conjunction with the DepositWizardForm to help build the UI for the Deposit Wizard. 024 */ 025 public class DepositWizardHelper { 026 private String selectedValue; 027 private Date cashReceiptCreateDate; 028 029 /** 030 * Constructs a JournalVoucherAccountingLineHelper.java. 031 */ 032 public DepositWizardHelper() { 033 selectedValue = KFSConstants.ParameterValues.NO; 034 cashReceiptCreateDate = new Date(0); 035 } 036 037 /** 038 * Gets the selectedValue attribute. 039 * 040 * @return Returns the selectedValue. 041 */ 042 public String getSelectedValue() { 043 return selectedValue; 044 } 045 046 /** 047 * Sets the selectedValue attribute value. 048 * 049 * @param selectedValue The selectedValue to set. 050 */ 051 public void setSelectedValue(String selectedValue) { 052 this.selectedValue = selectedValue; 053 } 054 055 /** 056 * @return current value of cashReceiptCreateDate. 057 */ 058 public Date getCashReceiptCreateDate() { 059 return cashReceiptCreateDate; 060 } 061 062 /** 063 * Sets the cashReceiptCreateDate attribute value. 064 * 065 * @param cashReceiptCreateDate The cashReceiptCreateDate to set. 066 */ 067 public void setCashReceiptCreateDate(Date cashReceiptCreateDate) { 068 this.cashReceiptCreateDate = cashReceiptCreateDate; 069 } 070 }