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     * Title to identify the method of dividing ownership during the process of shipment of packages from a particular Vendor.
026     */
027    public class ShippingTitle extends PersistableBusinessObjectBase implements Inactivateable{
028    
029        private String vendorShippingTitleCode;
030        private String vendorShippingTitleDescription;
031        private boolean active;
032    
033        /**
034         * Default constructor.
035         */
036        public ShippingTitle() {
037    
038        }
039    
040        public String getVendorShippingTitleCode() {
041    
042            return vendorShippingTitleCode;
043        }
044    
045        public void setVendorShippingTitleCode(String vendorShippingTitleCode) {
046            this.vendorShippingTitleCode = vendorShippingTitleCode;
047        }
048    
049        public String getVendorShippingTitleDescription() {
050    
051            return vendorShippingTitleDescription;
052        }
053    
054        public void setVendorShippingTitleDescription(String vendorShippingTitleDescription) {
055            this.vendorShippingTitleDescription = vendorShippingTitleDescription;
056        }
057    
058        public boolean isActive() {
059    
060            return active;
061        }
062    
063        public void setActive(boolean active) {
064            this.active = active;
065        }
066    
067        /**
068         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
069         */
070        protected LinkedHashMap toStringMapper() {
071            LinkedHashMap m = new LinkedHashMap();
072            m.put("vendorShippingTitleCode", this.vendorShippingTitleCode);
073    
074            return m;
075        }
076    }