001    /*
002     * Copyright 2011 The Kuali Foundation.
003     * 
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     * 
008     * http://www.opensource.org/licenses/ecl2.php
009     * 
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    
017    package org.kuali.kfs.vnd.businessobject;
018    
019    import java.util.LinkedHashMap;
020    
021    import org.kuali.rice.kns.bo.Inactivateable;
022    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
023    
024    /**
025     * Ways in which chosen Vendors are demonstrably diverse, including having certification as a Minority-owned or Woman-owned Business
026     * Enterprise (M/WBE), as a Small Business Enterprise (SBE), etc.
027     */
028    public class SupplierDiversity extends PersistableBusinessObjectBase implements Inactivateable{
029    
030        private String vendorSupplierDiversityCode;
031        private String vendorSupplierDiversityDescription;
032        private boolean active;
033    
034        /**
035         * Default constructor.
036         */
037        public SupplierDiversity() {
038    
039        }
040    
041        public String getVendorSupplierDiversityCode() {
042    
043            return vendorSupplierDiversityCode;
044        }
045    
046        public void setVendorSupplierDiversityCode(String vendorSupplierDiversityCode) {
047            this.vendorSupplierDiversityCode = vendorSupplierDiversityCode;
048        }
049    
050        public String getVendorSupplierDiversityDescription() {
051    
052            return vendorSupplierDiversityDescription;
053        }
054    
055        public void setVendorSupplierDiversityDescription(String vendorSupplierDiversityDescription) {
056            this.vendorSupplierDiversityDescription = vendorSupplierDiversityDescription;
057        }
058    
059        public boolean isActive() {
060    
061            return active;
062        }
063    
064        public void setActive(boolean active) {
065            this.active = active;
066        }
067    
068        /**
069         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
070         */
071        protected LinkedHashMap toStringMapper() {
072            LinkedHashMap m = new LinkedHashMap();
073            m.put("vendorSupplierDiversityCode", this.vendorSupplierDiversityCode);
074    
075            return m;
076        }
077    }