View Javadoc
1   /*
2    * Copyright 2011 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.select.form;
17  
18  import org.kuali.ole.select.bo.OLEInvoiceBo;
19  import org.kuali.ole.select.businessobject.OlePurchaseOrderItem;
20  import org.kuali.ole.select.document.OlePurchaseOrderDocument;
21  import org.kuali.rice.krad.web.form.UifFormBase;
22  
23  import java.sql.Date;
24  import java.util.ArrayList;
25  import java.util.List;
26  public class OLEAddTitlesToInvoiceForm extends UifFormBase {
27  
28      private String selectedSection;
29      private String invoiceId;
30      private String invoiceNumber;
31      private OLEInvoiceBo oleInvoiceBo;
32      private Date invoiceDate;
33      private String errorMsg;
34      private String successMsg;
35      private String invoiceAmount;
36      private String paymentMethod;
37      private String invoiceNbr;
38      private boolean payAndReceive;
39      private boolean cancelBox;
40      private String documentNumber;
41      private boolean continueReceiveAndPay;
42      private boolean skipValidation;
43  
44      public boolean isCancelBox() {
45          return cancelBox;
46      }
47  
48      public void setCancelBox(boolean cancelBox) {
49          this.cancelBox = cancelBox;
50      }
51  
52      public String getErrorMsg() {
53          return errorMsg;
54      }
55  
56      public void setErrorMsg(String errorMsg) {
57          this.errorMsg = errorMsg;
58      }
59  
60      public String getSuccessMsg() {
61          return successMsg;
62      }
63  
64      public void setSuccessMsg(String successMsg) {
65          this.successMsg = successMsg;
66      }
67  
68      public String getInvoiceNbr() {
69          return invoiceNbr;
70      }
71  
72      public void setInvoiceNbr(String invoiceNbr) {
73          this.invoiceNbr = invoiceNbr;
74      }
75  
76      public boolean isPayAndReceive() {
77          return payAndReceive;
78      }
79  
80      public void setPayAndReceive(boolean payAndReceive) {
81          this.payAndReceive = payAndReceive;
82      }
83  
84      public String getInvoiceAmount() {
85          return invoiceAmount;
86      }
87  
88      public void setInvoiceAmount(String invoiceAmount) {
89          this.invoiceAmount = invoiceAmount;
90      }
91  
92      public String getPaymentMethod() {
93          return paymentMethod;
94      }
95  
96      public void setPaymentMethod(String paymentMethod) {
97          this.paymentMethod = paymentMethod;
98      }
99  
100     public Date getInvoiceDate() {
101         return invoiceDate;
102     }
103 
104     public void setInvoiceDate(Date invoiceDate) {
105         this.invoiceDate = invoiceDate;
106     }
107 
108     List<OlePurchaseOrderItem> olePurchaseOrderItems = new ArrayList<OlePurchaseOrderItem>();
109 
110     public List<OlePurchaseOrderDocument> olePurchaseOrderDocuments = new ArrayList<OlePurchaseOrderDocument>();
111 
112     public List<OlePurchaseOrderDocument> getOlePurchaseOrderDocuments() {
113         return olePurchaseOrderDocuments;
114     }
115 
116     public void setOlePurchaseOrderDocuments(List<OlePurchaseOrderDocument> olePurchaseOrderDocuments) {
117         this.olePurchaseOrderDocuments = olePurchaseOrderDocuments;
118     }
119 
120     public String getInvoiceNumber() {
121         return invoiceNumber;
122     }
123 
124     public void setInvoiceNumber(String invoiceNumber) {
125         this.invoiceNumber = invoiceNumber;
126     }
127 
128     public OLEAddTitlesToInvoiceForm() {
129         /*this.selectedSection="newToInvoice";*/
130     }
131 
132     public String getSelectedSection() {
133         return selectedSection;
134     }
135 
136     public void setSelectedSection(String selectedSection) {
137         this.selectedSection = selectedSection;
138     }
139 
140     public String getInvoiceId() {
141         return invoiceId;
142     }
143 
144     public void setInvoiceId(String invoiceId) {
145         this.invoiceId = invoiceId;
146     }
147 
148     public OLEInvoiceBo getOleInvoiceBo() {
149         return oleInvoiceBo;
150     }
151 
152     public void setOleInvoiceBo(OLEInvoiceBo oleInvoiceBo) {
153         this.oleInvoiceBo = oleInvoiceBo;
154     }
155 
156     public List<OlePurchaseOrderItem> getOlePurchaseOrderItems() {
157         return olePurchaseOrderItems;
158     }
159 
160     public void setOlePurchaseOrderItems(List<OlePurchaseOrderItem> olePurchaseOrderItems) {
161         this.olePurchaseOrderItems = olePurchaseOrderItems;
162     }
163 
164     public String getDocumentNumber() {
165         return documentNumber;
166     }
167 
168     public void setDocumentNumber(String documentNumber) {
169         this.documentNumber = documentNumber;
170     }
171 
172     public boolean isContinueReceiveAndPay() {
173         return continueReceiveAndPay;
174     }
175 
176     public void setContinueReceiveAndPay(boolean continueReceiveAndPay) {
177         this.continueReceiveAndPay = continueReceiveAndPay;
178     }
179 
180     public boolean isSkipValidation() {
181         return skipValidation;
182     }
183 
184     public void setSkipValidation(boolean skipValidation) {
185         this.skipValidation = skipValidation;
186     }
187 }