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: * Ways in which chosen Vendors are demonstrably diverse, including having certification as a Minority-owned or Woman-owned Business
25: * Enterprise (M/WBE), as a Small Business Enterprise (SBE), etc.
26: */
27: public class SupplierDiversity extends PersistableBusinessObjectBase {
28:
29: private String vendorSupplierDiversityCode;
30: private String vendorSupplierDiversityDescription;
31: private boolean active;
32:
33: /**
34: * Default constructor.
35: */
36: public SupplierDiversity() {
37:
38: }
39:
40: public String getVendorSupplierDiversityCode() {
41:
42: return vendorSupplierDiversityCode;
43: }
44:
45: public void setVendorSupplierDiversityCode(
46: String vendorSupplierDiversityCode) {
47: this .vendorSupplierDiversityCode = vendorSupplierDiversityCode;
48: }
49:
50: public String getVendorSupplierDiversityDescription() {
51:
52: return vendorSupplierDiversityDescription;
53: }
54:
55: public void setVendorSupplierDiversityDescription(
56: String vendorSupplierDiversityDescription) {
57: this .vendorSupplierDiversityDescription = vendorSupplierDiversityDescription;
58: }
59:
60: public boolean isActive() {
61:
62: return active;
63: }
64:
65: public void setActive(boolean active) {
66: this .active = active;
67: }
68:
69: /**
70: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
71: */
72: protected LinkedHashMap toStringMapper() {
73: LinkedHashMap m = new LinkedHashMap();
74: m.put("vendorSupplierDiversityCode",
75: this.vendorSupplierDiversityCode);
76:
77: return m;
78: }
79: }
|