View Javadoc
1   /*
2    * Copyright 2006 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.module.purap.businessobject;
18  
19  import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
20  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
21  
22  import java.util.LinkedHashMap;
23  
24  /**
25   * Carrier Business Object.
26   */
27  public class Carrier extends PersistableBusinessObjectBase implements MutableInactivatable {
28  
29      private String carrierCode;
30      private String carrierDescription;
31      private boolean active;
32  
33      public Carrier() {
34  
35      }
36  
37      public String getCarrierCode() {
38          return carrierCode;
39      }
40  
41      public void setCarrierCode(String carrierCode) {
42          this.carrierCode = carrierCode;
43      }
44  
45      public String getCarrierDescription() {
46          return carrierDescription;
47      }
48  
49      public void setCarrierDescription(String carrierDescription) {
50          this.carrierDescription = carrierDescription;
51      }
52  
53      public boolean isActive() {
54          return active;
55      }
56  
57      public void setActive(boolean active) {
58          this.active = active;
59      }
60  
61      /**
62       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
63       */
64      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
65          LinkedHashMap m = new LinkedHashMap();
66          m.put("carrierCode", this.carrierCode);
67          return m;
68      }
69  }