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   * Title to identify the method of dividing ownership during the process of shipment of packages from a particular Vendor.
26   */
27  public class ShippingTitle extends PersistableBusinessObjectBase implements MutableInactivatable{
28  
29      private String vendorShippingTitleCode;
30      private String vendorShippingTitleDescription;
31      private boolean active;
32  
33      /**
34       * Default constructor.
35       */
36      public ShippingTitle() {
37  
38      }
39  
40      public String getVendorShippingTitleCode() {
41  
42          return vendorShippingTitleCode;
43      }
44  
45      public void setVendorShippingTitleCode(String vendorShippingTitleCode) {
46          this.vendorShippingTitleCode = vendorShippingTitleCode;
47      }
48  
49      public String getVendorShippingTitleDescription() {
50  
51          return vendorShippingTitleDescription;
52      }
53  
54      public void setVendorShippingTitleDescription(String vendorShippingTitleDescription) {
55          this.vendorShippingTitleDescription = vendorShippingTitleDescription;
56      }
57  
58      public boolean isActive() {
59  
60          return active;
61      }
62  
63      public void setActive(boolean active) {
64          this.active = active;
65      }
66  
67      /**
68       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
69       */
70      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
71          LinkedHashMap m = new LinkedHashMap();
72          m.put("vendorShippingTitleCode", this.vendorShippingTitleCode);
73  
74          return m;
75      }
76  }