View Javadoc

1   /*
2    * Copyright 2006 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.fp.businessobject;
17  
18  import java.sql.Date;
19  
20  import org.kuali.ole.sys.OLEConstants;
21  
22  /**
23   * This helper class works in conjunction with the DepositWizardForm to help build the UI for the Deposit Wizard.
24   */
25  public class DepositWizardHelper {
26      private String selectedValue;
27      private Date cashReceiptCreateDate;
28  
29      /**
30       * Constructs a JournalVoucherAccountingLineHelper.java.
31       */
32      public DepositWizardHelper() {
33          selectedValue = OLEConstants.ParameterValues.NO;
34          cashReceiptCreateDate = new Date(0);
35      }
36  
37      /**
38       * Gets the selectedValue attribute.
39       * 
40       * @return Returns the selectedValue.
41       */
42      public String getSelectedValue() {
43          return selectedValue;
44      }
45  
46      /**
47       * Sets the selectedValue attribute value.
48       * 
49       * @param selectedValue The selectedValue to set.
50       */
51      public void setSelectedValue(String selectedValue) {
52          this.selectedValue = selectedValue;
53      }
54  
55      /**
56       * @return current value of cashReceiptCreateDate.
57       */
58      public Date getCashReceiptCreateDate() {
59          return cashReceiptCreateDate;
60      }
61  
62      /**
63       * Sets the cashReceiptCreateDate attribute value.
64       * 
65       * @param cashReceiptCreateDate The cashReceiptCreateDate to set.
66       */
67      public void setCashReceiptCreateDate(Date cashReceiptCreateDate) {
68          this.cashReceiptCreateDate = cashReceiptCreateDate;
69      }
70  }