View Javadoc
1   package org.kuali.ole.deliver.bo;
2   
3   import org.kuali.rice.krad.maintenance.MaintenanceDocument;
4   import org.kuali.rice.krad.uif.UifConstants;
5   import org.kuali.rice.krad.web.form.DocumentFormBase;
6   
7   /**
8    * Created with IntelliJ IDEA.
9    * User: ?
10   * Date: 10/24/12
11   * Time: 8:33 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class PatronBillPaymentForm extends DocumentFormBase {
15  
16  
17      /**
18       * Copyright 2005-2012 The Kuali Foundation
19       * <p/>
20       * Licensed under the Educational Community License, Version 2.0 (the "License");
21       * you may not use this file except in compliance with the License.
22       * You may obtain a copy of the License at
23       * <p/>
24       * http://www.opensource.org/licenses/ecl2.php
25       * <p/>
26       * Unless required by applicable law or agreed to in writing, software
27       * distributed under the License is distributed on an "AS IS" BASIS,
28       * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29       * See the License for the specific language governing permissions and
30       * limitations under the License.
31       */
32  
33  
34      private static final long serialVersionUID = -5805825500852498048L;
35  
36      protected String dataObjectClassName;
37      protected String maintenanceAction;
38  
39      private String patronId;
40      private PatronBillPayment patronBillPayment;
41  
42      public PatronBillPaymentForm() {
43          super();
44          setViewTypeName(UifConstants.ViewType.MAINTENANCE);
45      }
46  
47      @Override
48      public MaintenanceDocument getDocument() {
49          return (MaintenanceDocument) super.getDocument();
50      }
51  
52      // This is to provide a setter with matching type to
53      // public MaintenanceDocument getDocument() so that no
54      // issues occur with spring 3.1-M2 bean wrappers
55      public void setDocument(MaintenanceDocument document) {
56          super.setDocument(document);
57      }
58  
59      public String getDataObjectClassName() {
60          return this.dataObjectClassName;
61      }
62  
63      public void setDataObjectClassName(String dataObjectClassName) {
64          this.dataObjectClassName = dataObjectClassName;
65      }
66  
67      public String getMaintenanceAction() {
68          return this.maintenanceAction;
69      }
70  
71      public void setMaintenanceAction(String maintenanceAction) {
72          this.maintenanceAction = maintenanceAction;
73      }
74  
75      public String getPatronId() {
76          return patronId;
77      }
78  
79      public void setPatronId(String patronId) {
80          this.patronId = patronId;
81      }
82  
83      public PatronBillPayment getPatronBillPayment() {
84          return patronBillPayment;
85      }
86  
87      public void setPatronBillPayment(PatronBillPayment patronBillPayment) {
88          this.patronBillPayment = patronBillPayment;
89      }
90  }