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  
17  package org.kuali.ole.module.purap.businessobject;
18  
19  import org.kuali.ole.module.purap.document.PurchaseOrderDocument;
20  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21  
22  import java.sql.Date;
23  import java.util.LinkedHashMap;
24  
25  /**
26   * Purchase Order Vendor Stipulation.
27   */
28  public class PurchaseOrderVendorStipulation extends PersistableBusinessObjectBase {
29  
30      private String documentNumber;
31      private Integer purchaseOrderVendorStipulationIdentifier;
32      private String vendorStipulationDescription;
33      private String vendorStipulationAuthorEmployeeIdentifier;
34      private Date vendorStipulationCreateDate;
35  
36      private PurchaseOrderDocument purchaseOrder;
37  
38      public PurchaseOrderVendorStipulation() {
39      }
40  
41      public String getDocumentNumber() {
42          return documentNumber;
43      }
44  
45      public void setDocumentNumber(String documentNumber) {
46          this.documentNumber = documentNumber;
47      }
48  
49      public Integer getPurchaseOrderVendorStipulationIdentifier() {
50          return purchaseOrderVendorStipulationIdentifier;
51      }
52  
53      public void setPurchaseOrderVendorStipulationIdentifier(Integer purchaseOrderVendorStipulationIdentifier) {
54          this.purchaseOrderVendorStipulationIdentifier = purchaseOrderVendorStipulationIdentifier;
55      }
56  
57      public String getVendorStipulationDescription() {
58          return vendorStipulationDescription;
59      }
60  
61      public void setVendorStipulationDescription(String vendorStipulationDescription) {
62          this.vendorStipulationDescription = vendorStipulationDescription;
63      }
64  
65      public String getVendorStipulationAuthorEmployeeIdentifier() {
66          return vendorStipulationAuthorEmployeeIdentifier;
67      }
68  
69      public void setVendorStipulationAuthorEmployeeIdentifier(String vendorStipulationAuthorEmployeeIdentifier) {
70          this.vendorStipulationAuthorEmployeeIdentifier = vendorStipulationAuthorEmployeeIdentifier;
71      }
72  
73      public Date getVendorStipulationCreateDate() {
74          return vendorStipulationCreateDate;
75      }
76  
77      public void setVendorStipulationCreateDate(Date vendorStipulationCreateDate) {
78          this.vendorStipulationCreateDate = vendorStipulationCreateDate;
79      }
80  
81      public PurchaseOrderDocument getPurchaseOrder() {
82          return purchaseOrder;
83      }
84  
85      /**
86       * Sets the purchaseOrder attribute.
87       *
88       * @param purchaseOrder The purchaseOrder to set.
89       * @deprecated
90       */
91      public void setPurchaseOrder(PurchaseOrderDocument purchaseOrder) {
92          this.purchaseOrder = purchaseOrder;
93      }
94  
95      /**
96       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
97       */
98      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
99          LinkedHashMap m = new LinkedHashMap();
100         m.put("documentNumber", this.documentNumber);
101         if (this.purchaseOrderVendorStipulationIdentifier != null) {
102             m.put("purchaseOrderVendorStipulationIdentifier", this.purchaseOrderVendorStipulationIdentifier.toString());
103         }
104         return m;
105     }
106 
107 }