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: * Special Conditions for Shipping. These are typically conditions of products which affect the way they are shipped.
25: *
26: * @see org.kuali.module.vendor.bo.VendorShippingSpecialCondition
27: */
28: public class ShippingSpecialCondition extends
29: PersistableBusinessObjectBase {
30:
31: private String vendorShippingSpecialConditionCode;
32: private String vendorShippingSpecialConditionDescription;
33: private boolean active;
34:
35: /**
36: * Default constructor.
37: */
38: public ShippingSpecialCondition() {
39:
40: }
41:
42: public String getVendorShippingSpecialConditionCode() {
43:
44: return vendorShippingSpecialConditionCode;
45: }
46:
47: public void setVendorShippingSpecialConditionCode(
48: String vendorShippingSpecialConditionCode) {
49: this .vendorShippingSpecialConditionCode = vendorShippingSpecialConditionCode;
50: }
51:
52: public String getVendorShippingSpecialConditionDescription() {
53:
54: return vendorShippingSpecialConditionDescription;
55: }
56:
57: public void setVendorShippingSpecialConditionDescription(
58: String vendorShippingSpecialConditionDescription) {
59: this .vendorShippingSpecialConditionDescription = vendorShippingSpecialConditionDescription;
60: }
61:
62: public boolean isActive() {
63:
64: return active;
65: }
66:
67: public void setActive(boolean active) {
68: this .active = active;
69: }
70:
71: /**
72: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
73: */
74: protected LinkedHashMap toStringMapper() {
75: LinkedHashMap m = new LinkedHashMap();
76: m.put("vendorShippingSpecialConditionCode",
77: this.vendorShippingSpecialConditionCode);
78:
79: return m;
80: }
81: }
|