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      private String foreignInvoiceAmount;
44  
45      public boolean isCancelBox() {
46          return cancelBox;
47      }
48  
49      public void setCancelBox(boolean cancelBox) {
50          this.cancelBox = cancelBox;
51      }
52  
53      public String getErrorMsg() {
54          return errorMsg;
55      }
56  
57      public void setErrorMsg(String errorMsg) {
58          this.errorMsg = errorMsg;
59      }
60  
61      public String getSuccessMsg() {
62          return successMsg;
63      }
64  
65      public void setSuccessMsg(String successMsg) {
66          this.successMsg = successMsg;
67      }
68  
69      public String getInvoiceNbr() {
70          return invoiceNbr;
71      }
72  
73      public void setInvoiceNbr(String invoiceNbr) {
74          this.invoiceNbr = invoiceNbr;
75      }
76  
77      public boolean isPayAndReceive() {
78          return payAndReceive;
79      }
80  
81      public void setPayAndReceive(boolean payAndReceive) {
82          this.payAndReceive = payAndReceive;
83      }
84  
85      public String getInvoiceAmount() {
86          return invoiceAmount;
87      }
88  
89      public void setInvoiceAmount(String invoiceAmount) {
90          this.invoiceAmount = invoiceAmount;
91      }
92  
93      public String getPaymentMethod() {
94          return paymentMethod;
95      }
96  
97      public void setPaymentMethod(String paymentMethod) {
98          this.paymentMethod = paymentMethod;
99      }
100 
101     public Date getInvoiceDate() {
102         return invoiceDate;
103     }
104 
105     public void setInvoiceDate(Date invoiceDate) {
106         this.invoiceDate = invoiceDate;
107     }
108 
109     List<OlePurchaseOrderItem> olePurchaseOrderItems = new ArrayList<OlePurchaseOrderItem>();
110 
111     public List<OlePurchaseOrderDocument> olePurchaseOrderDocuments = new ArrayList<OlePurchaseOrderDocument>();
112 
113     public List<OlePurchaseOrderDocument> getOlePurchaseOrderDocuments() {
114         return olePurchaseOrderDocuments;
115     }
116 
117     public void setOlePurchaseOrderDocuments(List<OlePurchaseOrderDocument> olePurchaseOrderDocuments) {
118         this.olePurchaseOrderDocuments = olePurchaseOrderDocuments;
119     }
120 
121     public String getInvoiceNumber() {
122         return invoiceNumber;
123     }
124 
125     public void setInvoiceNumber(String invoiceNumber) {
126         this.invoiceNumber = invoiceNumber;
127     }
128 
129     public OLEAddTitlesToInvoiceForm() {
130         /*this.selectedSection="newToInvoice";*/
131     }
132 
133     public String getSelectedSection() {
134         return selectedSection;
135     }
136 
137     public void setSelectedSection(String selectedSection) {
138         this.selectedSection = selectedSection;
139     }
140 
141     public String getInvoiceId() {
142         return invoiceId;
143     }
144 
145     public void setInvoiceId(String invoiceId) {
146         this.invoiceId = invoiceId;
147     }
148 
149     public OLEInvoiceBo getOleInvoiceBo() {
150         return oleInvoiceBo;
151     }
152 
153     public void setOleInvoiceBo(OLEInvoiceBo oleInvoiceBo) {
154         this.oleInvoiceBo = oleInvoiceBo;
155     }
156 
157     public List<OlePurchaseOrderItem> getOlePurchaseOrderItems() {
158         return olePurchaseOrderItems;
159     }
160 
161     public void setOlePurchaseOrderItems(List<OlePurchaseOrderItem> olePurchaseOrderItems) {
162         this.olePurchaseOrderItems = olePurchaseOrderItems;
163     }
164 
165     public String getDocumentNumber() {
166         return documentNumber;
167     }
168 
169     public void setDocumentNumber(String documentNumber) {
170         this.documentNumber = documentNumber;
171     }
172 
173     public boolean isContinueReceiveAndPay() {
174         return continueReceiveAndPay;
175     }
176 
177     public void setContinueReceiveAndPay(boolean continueReceiveAndPay) {
178         this.continueReceiveAndPay = continueReceiveAndPay;
179     }
180 
181     public boolean isSkipValidation() {
182         return skipValidation;
183     }
184 
185     public void setSkipValidation(boolean skipValidation) {
186         this.skipValidation = skipValidation;
187     }
188 
189     public String getForeignInvoiceAmount() {
190         return foreignInvoiceAmount;
191     }
192 
193     public void setForeignInvoiceAmount(String foreignInvoiceAmount) {
194         this.foreignInvoiceAmount = foreignInvoiceAmount;
195     }
196 }