01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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.module.vendor.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectBase;
22:
23: /**
24: * Payment Terms for Shipping from a particular Vendor. Per Vendor as distinct from <code>PaymentTermType</code>.
25: *
26: * @see org.kuali.module.vendor.bo.PaymentTermType
27: */
28: public class ShippingPaymentTerms extends PersistableBusinessObjectBase {
29:
30: private String vendorShippingPaymentTermsCode;
31: private String vendorShippingPaymentTermsDescription;
32: private boolean vendorShippingPaymentTermsPayIndicator;
33: private boolean active;
34:
35: /**
36: * Default constructor.
37: */
38: public ShippingPaymentTerms() {
39:
40: }
41:
42: public String getVendorShippingPaymentTermsCode() {
43:
44: return vendorShippingPaymentTermsCode;
45: }
46:
47: public void setVendorShippingPaymentTermsCode(
48: String vendorShippingPaymentTermsCode) {
49: this .vendorShippingPaymentTermsCode = vendorShippingPaymentTermsCode;
50: }
51:
52: public String getVendorShippingPaymentTermsDescription() {
53:
54: return vendorShippingPaymentTermsDescription;
55: }
56:
57: public void setVendorShippingPaymentTermsDescription(
58: String vendorShippingPaymentTermsDescription) {
59: this .vendorShippingPaymentTermsDescription = vendorShippingPaymentTermsDescription;
60: }
61:
62: public boolean getVendorShippingPaymentTermsPayIndicator() {
63:
64: return vendorShippingPaymentTermsPayIndicator;
65: }
66:
67: public void setVendorShippingPaymentTermsPayIndicator(
68: boolean vendorShippingPaymentTermsPayIndicator) {
69: this .vendorShippingPaymentTermsPayIndicator = vendorShippingPaymentTermsPayIndicator;
70: }
71:
72: public boolean isActive() {
73:
74: return active;
75: }
76:
77: public void setActive(boolean active) {
78: this .active = active;
79: }
80:
81: /**
82: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
83: */
84: protected LinkedHashMap toStringMapper() {
85: LinkedHashMap m = new LinkedHashMap();
86: m.put("vendorShippingPaymentTermsCode",
87: this.vendorShippingPaymentTermsCode);
88:
89: return m;
90: }
91: }
|