01: /*
02: * Copyright 2006-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.purap.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectBase;
22:
23: /**
24: * Vendor Stipulation Business Object.
25: */
26: public class VendorStipulation extends PersistableBusinessObjectBase {
27:
28: private Integer vendorStipulationIdentifier;
29: private String vendorStipulationName;
30: private String vendorStipulationDescription;
31: private boolean active;
32:
33: /**
34: * Default constructor.
35: */
36: public VendorStipulation() {
37:
38: }
39:
40: public Integer getVendorStipulationIdentifier() {
41: return vendorStipulationIdentifier;
42: }
43:
44: public void setVendorStipulationIdentifier(
45: Integer vendorStipulationIdentifier) {
46: this .vendorStipulationIdentifier = vendorStipulationIdentifier;
47: }
48:
49: public String getVendorStipulationName() {
50: return vendorStipulationName;
51: }
52:
53: public void setVendorStipulationName(String vendorStipulationName) {
54: this .vendorStipulationName = vendorStipulationName;
55: }
56:
57: public String getVendorStipulationDescription() {
58: return vendorStipulationDescription;
59: }
60:
61: public void setVendorStipulationDescription(
62: String vendorStipulationDescription) {
63: this .vendorStipulationDescription = vendorStipulationDescription;
64: }
65:
66: public boolean isActive() {
67: return active;
68: }
69:
70: public void setActive(boolean active) {
71: this .active = active;
72: }
73:
74: /**
75: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
76: */
77: protected LinkedHashMap toStringMapper() {
78: LinkedHashMap m = new LinkedHashMap();
79: if (this .vendorStipulationIdentifier != null) {
80: m.put("vendorStipulationIdentifier",
81: this.vendorStipulationIdentifier.toString());
82: }
83: return m;
84: }
85:
86: }
|