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