View Javadoc

1   /*
2    * Copyright 2007 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.vnd.businessobject;
18  
19  import java.util.LinkedHashMap;
20  
21  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
22  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23  
24  /**
25   * Payment Terms for Shipping from a particular Vendor. Per Vendor as distinct from <code>PaymentTermType</code>.
26   * 
27   * @see org.kuali.ole.vnd.businessobject.PaymentTermType
28   */
29  public class ShippingPaymentTerms extends PersistableBusinessObjectBase implements MutableInactivatable {
30  
31      private String vendorShippingPaymentTermsCode;
32      private String vendorShippingPaymentTermsDescription;
33      private boolean vendorShippingPaymentTermsPayIndicator;
34      private boolean active;
35  
36      /**
37       * Default constructor.
38       */
39      public ShippingPaymentTerms() {
40  
41      }
42  
43      public String getVendorShippingPaymentTermsCode() {
44  
45          return vendorShippingPaymentTermsCode;
46      }
47  
48      public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) {
49          this.vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
50      }
51  
52      public String getVendorShippingPaymentTermsDescription() {
53  
54          return vendorShippingPaymentTermsDescription;
55      }
56  
57      public void setVendorShippingPaymentTermsDescription(String vendorShippingPaymentTermsDescription) {
58          this.vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription;
59      }
60  
61      public boolean getVendorShippingPaymentTermsPayIndicator() {
62  
63          return vendorShippingPaymentTermsPayIndicator;
64      }
65  
66      public void setVendorShippingPaymentTermsPayIndicator(boolean vendorShippingPaymentTermsPayIndicator) {
67          this.vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator;
68      }
69  
70      public boolean isActive() {
71  
72          return active;
73      }
74  
75      public void setActive(boolean active) {
76          this.active = active;
77      }
78  
79      /**
80       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
81       */
82      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
83          LinkedHashMap m = new LinkedHashMap();
84          m.put("vendorShippingPaymentTermsCode", this.vendorShippingPaymentTermsCode);
85  
86          return m;
87      }
88  }